Chromium Code Reviews

Unified Diff: utils/tests/pub/install/hosted/remove_removed_dependency_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.
Jump to:
View side-by-side diff with in-line comments
Index: utils/tests/pub/install/hosted/remove_removed_dependency_test.dart
diff --git a/utils/tests/pub/install/hosted/remove_removed_dependency_test.dart b/utils/tests/pub/install/hosted/remove_removed_dependency_test.dart
index add5837bee708ec461d9f9ce6e718bcd26e90b84..4febc6e4e2f7eae62bc621f74590b142ce3f9685 100644
--- a/utils/tests/pub/install/hosted/remove_removed_dependency_test.dart
+++ b/utils/tests/pub/install/hosted/remove_removed_dependency_test.dart
@@ -19,7 +19,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",
@@ -29,7 +29,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