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("doesn't snapshots the executables for a path package", () { |
| 7 d.dir( |
| 8 'foo', |
| 9 [ |
| 10 d.libPubspec("foo", "1.0.0"), |
| 11 d.dir( |
| 12 "bin", |
| 13 [d.file("hello.dart", "void main() => print('hello!');")])]).cre
ate(); |
| 14 schedulePub( |
| 15 args: ["global", "activate", "-spath", "../foo"], |
| 16 output: isNot(contains('Precompiled foo:hello.'))); |
| 17 d.dir( |
| 18 cachePath, |
| 19 [ |
| 20 d.dir( |
| 21 'global_packages', |
| 22 [ |
| 23 d.dir( |
| 24 'foo', |
| 25 [ |
| 26 d.matcherFile('pubspec.lock', contains('1.0.0')), |
| 27 d.nothing('bin')])])]).validate(); |
| 28 }); |
| 29 } |
OLD | NEW |