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

Unified Diff: utils/tests/pub/install/hosted/stay_locked_if_compatible_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/stay_locked_if_compatible_test.dart
diff --git a/utils/tests/pub/install/hosted/stay_locked_if_compatible_test.dart b/utils/tests/pub/install/hosted/stay_locked_if_compatible_test.dart
index 7ac56bfff1ae50727f24d9d658d1bda1562ebb49..aa792964230e64ffa98518e38dd23cbfcdecd61e 100644
--- a/utils/tests/pub/install/hosted/stay_locked_if_compatible_test.dart
+++ b/utils/tests/pub/install/hosted/stay_locked_if_compatible_test.dart
@@ -17,7 +17,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"}).scheduleValidate();
@@ -26,7 +26,7 @@ main() {
appDir([dependency("foo", ">=1.0.0")]).scheduleCreate();
schedulePub(args: ['install'],
- output: const RegExp(r"Dependencies installed!$"));
+ output: new RegExp(r"Dependencies installed!$"));
packagesDir({"foo": "1.0.0"}).scheduleValidate();

Powered by Google App Engine
This is Rietveld 408576698