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

Unified Diff: utils/tests/pub/install/hosted/do_not_update_on_removed_constraints_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/hosted/do_not_update_on_removed_constraints_test.dart
diff --git a/utils/tests/pub/install/hosted/do_not_update_on_removed_constraints_test.dart b/utils/tests/pub/install/hosted/do_not_update_on_removed_constraints_test.dart
index a41873cc3812c2066d160d7d5561276480cd657a..62779364df1d6a6abb903ab55bc56c0d72f11c65 100644
--- a/utils/tests/pub/install/hosted/do_not_update_on_removed_constraints_test.dart
+++ b/utils/tests/pub/install/hosted/do_not_update_on_removed_constraints_test.dart
@@ -21,7 +21,7 @@ main() {
appDir([dependency("foo"), dependency("bar")]).scheduleCreate();
schedulePub(args: ['install'],
- output: const RegExp(r"Dependencies installed!$"));
+ output: new RegExp(r"Dependencies installed!$"));
packagesDir({
"foo": "1.0.0",
@@ -32,7 +32,7 @@ main() {
appDir([dependency("foo")]).scheduleCreate();
schedulePub(args: ['install'],
- output: const RegExp(r"Dependencies installed!$"));
+ output: new RegExp(r"Dependencies installed!$"));
packagesDir({
"foo": "1.0.0",

Powered by Google App Engine
This is Rietveld 408576698