Index: utils/tests/pub/install/git/require_pubspec_name_test.dart |
diff --git a/utils/tests/pub/install/git/require_pubspec_name_test.dart b/utils/tests/pub/install/git/require_pubspec_name_test.dart |
index 1713e042c8dc86a8f4947ed6b31756e9b87083fc..68cc91ea266356d0cbd79bab7f6d34b7c08c079f 100644 |
--- a/utils/tests/pub/install/git/require_pubspec_name_test.dart |
+++ b/utils/tests/pub/install/git/require_pubspec_name_test.dart |
@@ -6,7 +6,6 @@ library pub_tests; |
import 'dart:io'; |
-import '../../descriptor.dart' as d; |
import '../../test_pub.dart'; |
main() { |
@@ -14,12 +13,12 @@ main() { |
'field', () { |
ensureGit(); |
- d.git('foo.git', [ |
- d.libDir('foo'), |
- d.pubspec({}) |
- ]).create(); |
+ git('foo.git', [ |
+ libDir('foo'), |
+ pubspec({}) |
+ ]).scheduleCreate(); |
- d.appDir([{"git": "../foo.git"}]).create(); |
+ appDir([{"git": "../foo.git"}]).scheduleCreate(); |
// TODO(nweiz): clean up this RegExp when either issue 4706 or 4707 is |
// fixed. |