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

Unified Diff: utils/tests/pub/install/git/dependency_name_match_pubspec_test.dart

Issue 11369210: Make RegExp constructor non-const. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Clean up status files. 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 c2733be1e99428659cc6aa7f02b105fa573f1f53..c8f4648924973f88b025171bd44e6334764c63eb 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: const RegExp(r'^The name you specified for your dependency, '
+ error: new 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