Index: utils/tests/pub/install/hosted/fail_gracefully_on_missing_package_test.dart |
diff --git a/utils/tests/pub/install/hosted/fail_gracefully_on_missing_package_test.dart b/utils/tests/pub/install/hosted/fail_gracefully_on_missing_package_test.dart |
index ed0ca96e6dca3ffb4d1c7de9a36613daaa71298c..e0b461590e04596e59bbd272613680973d3c086f 100644 |
--- a/utils/tests/pub/install/hosted/fail_gracefully_on_missing_package_test.dart |
+++ b/utils/tests/pub/install/hosted/fail_gracefully_on_missing_package_test.dart |
@@ -6,13 +6,14 @@ library pub_tests; |
import 'dart:io'; |
+import '../../descriptor.dart' as d; |
import '../../test_pub.dart'; |
main() { |
integration('fails gracefully if the package does not exist', () { |
servePackages([]); |
- appDir([dependency("foo", "1.2.3")]).scheduleCreate(); |
+ d.appDir([dependencyMap("foo", "1.2.3")]).create(); |
schedulePub(args: ['install'], |
error: new RegExp('Could not find package "foo" at ' |