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 f6f46284560535f4bf73cc1f5563018bb67603cd..25bf4b6d231160662b5c17fce637ed50894554ca 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 |
@@ -15,16 +15,13 @@ main() { |
forBothPubInstallAndUpdate((command) { |
integration('fails gracefully if the url does not resolve', () { |
d.dir(appPath, [ |
- d.pubspec({ |
- "name": "myapp", |
- "dependencies": { |
- "foo": { |
- "hosted": { |
- "name": "foo", |
- "url": "http://pub.invalid" |
- } |
+ d.appPubspec({ |
+ "foo": { |
+ "hosted": { |
+ "name": "foo", |
+ "url": "http://pub.invalid" |
} |
- } |
+ } |
}) |
]).create(); |