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 6c7acde3f12f244fde1f795b3710de516c55cff9..6a40f08c91de43fb44fe6afe55825bbef36ce3d7 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 |
@@ -6,13 +6,12 @@ library pub_tests; |
import 'dart:io'; |
-import '../../descriptor.dart' as d; |
import '../../test_pub.dart'; |
main() { |
integration('fails gracefully if the url does not resolve', () { |
- d.dir(appPath, [ |
- d.pubspec({ |
+ dir(appPath, [ |
+ pubspec({ |
"name": "myapp", |
"dependencies": { |
"foo": { |
@@ -23,7 +22,7 @@ main() { |
} |
} |
}) |
- ]).create(); |
+ ]).scheduleCreate(); |
schedulePub(args: ['install'], |
error: new RegExp('Could not resolve URL "http://pub.invalid".'), |