OLD | NEW |
(Empty) | |
| 1 import 'package:scheduled_test/scheduled_test.dart'; |
| 2 import '../../descriptor.dart' as d; |
| 3 import '../../test_pub.dart'; |
| 4 main() { |
| 5 initConfig(); |
| 6 integration('activating a Git package installs its dependencies', () { |
| 7 servePackages((builder) { |
| 8 builder.serve("bar", "1.0.0", deps: { |
| 9 "baz": "any" |
| 10 }); |
| 11 builder.serve("baz", "1.0.0"); |
| 12 }); |
| 13 d.git('foo.git', [d.libPubspec("foo", "1.0.0", deps: { |
| 14 "bar": "any" |
| 15 }), |
| 16 d.dir("bin", [d.file("foo.dart", "main() => print('ok');")])]).create(
); |
| 17 schedulePub( |
| 18 args: ["global", "activate", "-sgit", "../foo.git"], |
| 19 output: allOf( |
| 20 [contains("Downloading bar 1.0.0..."), contains("Downloading baz 1.0
.0...")])); |
| 21 }); |
| 22 } |
OLD | NEW |