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