Index: utils/tests/pub/install/hosted/fail_gracefully_on_missing_package_test.dart |
diff --git a/utils/tests/pub/install/hosted/fail_gracefully_on_missing_package_test.dart b/utils/tests/pub/install/hosted/fail_gracefully_on_missing_package_test.dart |
index aaddfcfe62d329f71999c636111164170cabc11c..dae4ce600d13439a77e9476a789c5ca6e17c8dbb 100644 |
--- a/utils/tests/pub/install/hosted/fail_gracefully_on_missing_package_test.dart |
+++ b/utils/tests/pub/install/hosted/fail_gracefully_on_missing_package_test.dart |
@@ -16,7 +16,7 @@ main() { |
appDir([dependency("foo", "1.2.3")]).scheduleCreate(); |
schedulePub(args: ['install'], |
- error: new RegExp('Could not find package "foo" at ' |
+ error: const RegExp('Could not find package "foo" at ' |
'http://localhost:'), |
exitCode: 1); |