Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(575)

Unified Diff: utils/tests/pub/update/git/update_to_incompatible_pubspec_test.dart

Issue 11312203: "Reverting 14829-14832" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: utils/tests/pub/update/git/update_to_incompatible_pubspec_test.dart
diff --git a/utils/tests/pub/update/git/update_to_incompatible_pubspec_test.dart b/utils/tests/pub/update/git/update_to_incompatible_pubspec_test.dart
index 36c5e7f55468e80e903433b58b6cfa05e58eec86..e6086b5335dc75ac15869e29363ff6120f062a26 100644
--- a/utils/tests/pub/update/git/update_to_incompatible_pubspec_test.dart
+++ b/utils/tests/pub/update/git/update_to_incompatible_pubspec_test.dart
@@ -21,7 +21,7 @@ main() {
appDir([{"git": "../foo.git"}]).scheduleCreate();
schedulePub(args: ['install'],
- output: new RegExp(r"Dependencies installed!$"));
+ output: const RegExp(r"Dependencies installed!$"));
dir(packagesPath, [
dir('foo', [
@@ -35,7 +35,7 @@ main() {
]).scheduleCommit();
schedulePub(args: ['update'],
- error: new RegExp(r'The name you specified for your dependency, '
+ error: const RegExp(r'The name you specified for your dependency, '
r'"foo", doesn' "'" r't match the name "zoo" in its pubspec.'),
exitCode: 1);

Powered by Google App Engine
This is Rietveld 408576698