Index: sdk/lib/_internal/pub/test/global/activate/activate_hosted_after_git_test.dart |
diff --git a/sdk/lib/_internal/pub/test/global/activate/activate_hosted_after_git_test.dart b/sdk/lib/_internal/pub/test/global/activate/activate_hosted_after_git_test.dart |
index 9afb49fd78b22cfa5a3b95d99b14e2f9868daea3..33a81e190dd1aa9f3107399dfa2b5c346cafdfff 100644 |
--- a/sdk/lib/_internal/pub/test/global/activate/activate_hosted_after_git_test.dart |
+++ b/sdk/lib/_internal/pub/test/global/activate/activate_hosted_after_git_test.dart |
@@ -13,11 +13,13 @@ main() { |
integration('activating a hosted package deactivates the Git one', () { |
servePackages([ |
packageMap("foo", "2.0.0") |
- ], contents: [ |
- d.dir("bin", [ |
- d.file("foo.dart", "main(args) => print('hosted');") |
- ]) |
- ]); |
+ ], contents: { |
+ 'foo-2.0.0': [ |
+ d.dir("bin", [ |
+ d.file("foo.dart", "main(args) => print('hosted');") |
+ ]) |
+ ] |
+ }); |
d.git('foo.git', [ |
d.libPubspec("foo", "1.0.0"), |