Index: utils/tests/pub/install/pub_install_test.dart |
diff --git a/utils/tests/pub/install/pub_install_test.dart b/utils/tests/pub/install/pub_install_test.dart |
index b82565a71f6096c6d0d1599936581cb6f77282b2..f01bc8fe7101b3a2264834ac34d6696aa0091e1c 100644 |
--- a/utils/tests/pub/install/pub_install_test.dart |
+++ b/utils/tests/pub/install/pub_install_test.dart |
@@ -67,17 +67,13 @@ main() { |
}); |
integration('does not add a package if it does not have a "lib" directory', () { |
- // Using an SDK source, but this should be true of all sources. |
- dir(sdkPath, [ |
- dir('pkg', [ |
- dir('foo', [ |
- libPubspec('foo', '0.0.0-not.used') |
- ]) |
- ]) |
+ // Using a path source, but this should be true of all sources. |
+ dir('foo', [ |
+ libPubspec('foo', '0.0.0-not.used') |
]).scheduleCreate(); |
dir(appPath, [ |
- pubspec({"name": "myapp", "dependencies": {"foo": {"sdk": "foo"}}}) |
+ pubspec({"name": "myapp", "dependencies": {"foo": {"path": "../foo"}}}) |
]).scheduleCreate(); |
schedulePub(args: ['install'], |