Index: utils/tests/pub/install/git/different_repo_name_test.dart |
diff --git a/utils/tests/pub/install/git/different_repo_name_test.dart b/utils/tests/pub/install/git/different_repo_name_test.dart |
index 3c30faf8e69e8ac7e7982f7ba99b0a77417e4353..8f5657c7dec6e8b58ad53c625fa4b9301c2da4a3 100644 |
--- a/utils/tests/pub/install/git/different_repo_name_test.dart |
+++ b/utils/tests/pub/install/git/different_repo_name_test.dart |
@@ -6,7 +6,6 @@ library pub_tests; |
import 'dart:io'; |
-import '../../descriptor.dart' as d; |
import '../../test_pub.dart'; |
main() { |
@@ -14,27 +13,27 @@ main() { |
'pubspec', () { |
ensureGit(); |
- d.git('foo.git', [ |
- d.libDir('weirdname'), |
- d.libPubspec('weirdname', '1.0.0') |
- ]).create(); |
+ git('foo.git', [ |
+ libDir('weirdname'), |
+ libPubspec('weirdname', '1.0.0') |
+ ]).scheduleCreate(); |
- d.dir(appPath, [ |
- d.pubspec({ |
+ dir(appPath, [ |
+ pubspec({ |
"name": "myapp", |
"dependencies": { |
"weirdname": {"git": "../foo.git"} |
} |
}) |
- ]).create(); |
+ ]).scheduleCreate(); |
schedulePub(args: ['install'], |
output: new RegExp(r"Dependencies installed!$")); |
- d.dir(packagesPath, [ |
- d.dir('weirdname', [ |
- d.file('weirdname.dart', 'main() => "weirdname";') |
+ dir(packagesPath, [ |
+ dir('weirdname', [ |
+ file('weirdname.dart', 'main() => "weirdname";') |
]) |
- ]).validate(); |
+ ]).scheduleValidate(); |
}); |
} |