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

Unified Diff: utils/tests/pub/install/git/dependency_name_match_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/dependency_name_match_pubspec_test.dart
diff --git a/utils/tests/pub/install/git/dependency_name_match_pubspec_test.dart b/utils/tests/pub/install/git/dependency_name_match_pubspec_test.dart
index c8f4648924973f88b025171bd44e6334764c63eb..c2733be1e99428659cc6aa7f02b105fa573f1f53 100644
--- a/utils/tests/pub/install/git/dependency_name_match_pubspec_test.dart
+++ b/utils/tests/pub/install/git/dependency_name_match_pubspec_test.dart
@@ -30,7 +30,7 @@ main() {
// TODO(nweiz): clean up this RegExp when either issue 4706 or 4707 is
// fixed.
schedulePub(args: ['install'],
- error: new RegExp(r'^The name you specified for your dependency, '
+ error: const RegExp(r'^The name you specified for your dependency, '
'"weirdname", doesn\'t match the name "foo" in its '
r'pubspec\.'),
exitCode: 1);

Powered by Google App Engine
This is Rietveld 408576698