Index: utils/tests/pub/update/hosted/fail_gracefully_on_missing_package_test.dart |
diff --git a/utils/tests/pub/update/hosted/fail_gracefully_on_missing_package_test.dart b/utils/tests/pub/update/hosted/fail_gracefully_on_missing_package_test.dart |
index 8de4886391a7c54c62856fa36c18542f53612cef..6bbb45cf729360812357129bced9a57652c66b6b 100644 |
--- a/utils/tests/pub/update/hosted/fail_gracefully_on_missing_package_test.dart |
+++ b/utils/tests/pub/update/hosted/fail_gracefully_on_missing_package_test.dart |
@@ -6,14 +6,13 @@ 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([]); |
- d.appDir([dependencyMap("foo", "1.2.3")]).create(); |
+ appDir([dependency("foo", "1.2.3")]).scheduleCreate(); |
schedulePub(args: ['update'], |
error: new RegExp('Could not find package "foo" at ' |