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(); |