Index: sdk/lib/_internal/pub/test/hosted/fail_gracefully_on_url_resolve_test.dart |
diff --git a/sdk/lib/_internal/pub/test/hosted/fail_gracefully_on_url_resolve_test.dart b/sdk/lib/_internal/pub/test/hosted/fail_gracefully_on_url_resolve_test.dart |
index 49742d3e5bd4663df436157291ca539b0060d32d..f6f46284560535f4bf73cc1f5563018bb67603cd 100644 |
--- a/sdk/lib/_internal/pub/test/hosted/fail_gracefully_on_url_resolve_test.dart |
+++ b/sdk/lib/_internal/pub/test/hosted/fail_gracefully_on_url_resolve_test.dart |
@@ -28,8 +28,7 @@ main() { |
}) |
]).create(); |
- pubCommand(command, error: |
- new RegExp('Could not resolve URL "http://pub.invalid".')); |
+ pubCommand(command, error: 'Could not resolve URL "http://pub.invalid".'); |
}); |
}); |
} |