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

Unified Diff: utils/tests/pub/update/hosted/fail_gracefully_on_url_resolve_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/update/hosted/fail_gracefully_on_url_resolve_test.dart
diff --git a/utils/tests/pub/update/hosted/fail_gracefully_on_url_resolve_test.dart b/utils/tests/pub/update/hosted/fail_gracefully_on_url_resolve_test.dart
index c231122e1bd73b0e57397548aef7cb73c7e51c36..314f41f7d9439f3ec50ee1002e55dfd8986a861f 100644
--- a/utils/tests/pub/update/hosted/fail_gracefully_on_url_resolve_test.dart
+++ b/utils/tests/pub/update/hosted/fail_gracefully_on_url_resolve_test.dart
@@ -26,7 +26,7 @@ main() {
]).scheduleCreate();
schedulePub(args: ['update'],
- error: const RegExp('Could not resolve URL "http://pub.invalid".'),
+ error: new RegExp('Could not resolve URL "http://pub.invalid".'),
exitCode: 1);
run();

Powered by Google App Engine
This is Rietveld 408576698