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

Unified Diff: utils/tests/pub/install/git/require_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/install/git/require_pubspec_test.dart
diff --git a/utils/tests/pub/install/git/require_pubspec_test.dart b/utils/tests/pub/install/git/require_pubspec_test.dart
index 917a1f5fabc8a8982f85ee580b2b6928ba982ccd..00eb9d23e9828099da1d87405ce2146876891cc9 100644
--- a/utils/tests/pub/install/git/require_pubspec_test.dart
+++ b/utils/tests/pub/install/git/require_pubspec_test.dart
@@ -22,7 +22,7 @@ main() {
// TODO(nweiz): clean up this RegExp when either issue 4706 or 4707 is
// fixed.
schedulePub(args: ['install'],
- error: new RegExp('^Package "foo" doesn\'t have a '
+ error: const RegExp('^Package "foo" doesn\'t have a '
'pubspec.yaml file.'),
exitCode: 1);

Powered by Google App Engine
This is Rietveld 408576698