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

Unified Diff: utils/tests/pub/install/hosted/stay_locked_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_test.dart
diff --git a/utils/tests/pub/install/hosted/stay_locked_test.dart b/utils/tests/pub/install/hosted/stay_locked_test.dart
index c6e4b00ff8189130e465d4603d138796e45f67dd..316333caa72e6736cd52cecdbf80e7d63dc64a6b 100644
--- a/utils/tests/pub/install/hosted/stay_locked_test.dart
+++ b/utils/tests/pub/install/hosted/stay_locked_test.dart
@@ -17,7 +17,7 @@ main() {
// This install should lock the foo dependency to version 1.0.0.
schedulePub(args: ['install'],
- output: const RegExp(r"Dependencies installed!$"));
+ output: new RegExp(r"Dependencies installed!$"));
packagesDir({"foo": "1.0.0"}).scheduleValidate();
@@ -29,7 +29,7 @@ main() {
// This install shouldn't update the foo dependency due to the lockfile.
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