Index: utils/tests/pub/install/hosted/fail_gracefully_on_url_resolve_test.dart |
diff --git a/utils/tests/pub/install/hosted/fail_gracefully_on_url_resolve_test.dart b/utils/tests/pub/install/hosted/fail_gracefully_on_url_resolve_test.dart |
index 1cd630013f8c367c7de772bf7d01e85676149ed2..ffb4849623518ed215fabbea508a1a87dcdf1004 100644 |
--- a/utils/tests/pub/install/hosted/fail_gracefully_on_url_resolve_test.dart |
+++ b/utils/tests/pub/install/hosted/fail_gracefully_on_url_resolve_test.dart |
@@ -26,7 +26,7 @@ main() { |
]).scheduleCreate(); |
schedulePub(args: ['install'], |
- error: new RegExp('Could not resolve URL "http://pub.invalid".'), |
+ error: const RegExp('Could not resolve URL "http://pub.invalid".'), |
exitCode: 1); |
run(); |