| Index: utils/tests/pub/install/git/dependency_name_match_pubspec_test.dart
|
| diff --git a/utils/tests/pub/install/git/dependency_name_match_pubspec_test.dart b/utils/tests/pub/install/git/dependency_name_match_pubspec_test.dart
|
| index cd12ff2b3e2cd63dc6f3c2f2cc1289bd54ba0e21..d54881fef7272e1c0f0ca91815f63fb049f0bbca 100644
|
| --- a/utils/tests/pub/install/git/dependency_name_match_pubspec_test.dart
|
| +++ b/utils/tests/pub/install/git/dependency_name_match_pubspec_test.dart
|
| @@ -6,7 +6,6 @@ library pub_tests;
|
|
|
| import 'dart:io';
|
|
|
| -import '../../descriptor.dart' as d;
|
| import '../../test_pub.dart';
|
|
|
| main() {
|
| @@ -14,19 +13,19 @@ main() {
|
| 'name', () {
|
| ensureGit();
|
|
|
| - d.git('foo.git', [
|
| - d.libDir('foo'),
|
| - d.libPubspec('foo', '1.0.0')
|
| - ]).create();
|
| + git('foo.git', [
|
| + libDir('foo'),
|
| + libPubspec('foo', '1.0.0')
|
| + ]).scheduleCreate();
|
|
|
| - d.dir(appPath, [
|
| - d.pubspec({
|
| + dir(appPath, [
|
| + pubspec({
|
| "name": "myapp",
|
| "dependencies": {
|
| "weirdname": {"git": "../foo.git"}
|
| }
|
| })
|
| - ]).create();
|
| + ]).scheduleCreate();
|
|
|
| // TODO(nweiz): clean up this RegExp when either issue 4706 or 4707 is
|
| // fixed.
|
|
|