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