OLD | NEW |
(Empty) | |
| 1 import '../../descriptor.dart' as d; |
| 2 import '../../test_pub.dart'; |
| 3 main() { |
| 4 initConfig(); |
| 5 integration('deactivates an active Git package', () { |
| 6 ensureGit(); |
| 7 d.git( |
| 8 'foo.git', |
| 9 [ |
| 10 d.libPubspec("foo", "1.0.0"), |
| 11 d.dir("bin", [d.file("foo.dart", "main() => print('ok');")])]).creat
e(); |
| 12 schedulePub(args: ["global", "activate", "-sgit", "../foo.git"]); |
| 13 schedulePub( |
| 14 args: ["global", "deactivate", "foo"], |
| 15 output: 'Deactivated package foo 1.0.0 from Git repository "../foo.git".
'); |
| 16 }); |
| 17 } |
OLD | NEW |