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