Index: utils/tests/pub/install/hosted/unlock_if_incompatible_test.dart |
diff --git a/utils/tests/pub/install/hosted/unlock_if_incompatible_test.dart b/utils/tests/pub/install/hosted/unlock_if_incompatible_test.dart |
index 89ca81f33a131781cb829741c234a7642b6b92da..3016bf5787225332aef86cf98b0fc81ceb00f810 100644 |
--- a/utils/tests/pub/install/hosted/unlock_if_incompatible_test.dart |
+++ b/utils/tests/pub/install/hosted/unlock_if_incompatible_test.dart |
@@ -17,7 +17,7 @@ main() { |
appDir([dependency("foo")]).scheduleCreate(); |
schedulePub(args: ['install'], |
- output: new RegExp(r"Dependencies installed!$")); |
+ output: const 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: new RegExp(r"Dependencies installed!$")); |
+ output: const RegExp(r"Dependencies installed!$")); |
packagesDir({"foo": "1.0.1"}).scheduleValidate(); |