Index: sdk/lib/_internal/pub/test/install/switch_source_test.dart |
diff --git a/sdk/lib/_internal/pub/test/install/switch_source_test.dart b/sdk/lib/_internal/pub/test/install/switch_source_test.dart |
index 6ca3981be8208552d84af6b040c473413998edd0..03f2ebcc91ba1636f337bdf3ab74a0bcb49e5da9 100644 |
--- a/sdk/lib/_internal/pub/test/install/switch_source_test.dart |
+++ b/sdk/lib/_internal/pub/test/install/switch_source_test.dart |
@@ -19,12 +19,12 @@ main() { |
d.libPubspec('foo', '0.0.1') |
]).create(); |
- d.appDir([{"path": "../foo"}]).create(); |
+ d.appDir({"foo": {"path": "../foo"}}).create(); |
pubInstall(); |
d.packagesDir({"foo": "0.0.1"}).validate(); |
- d.appDir([dependencyMap("foo", "any")]).create(); |
+ d.appDir({"foo": "any"}).create(); |
pubInstall(); |