OLD | NEW |
---|---|
(Empty) | |
1 import '../../lib/src/exit_codes.dart' as exit_codes; | |
2 import '../descriptor.dart' as d; | |
3 import '../test_pub.dart'; | |
4 main() { | |
5 initConfig(); | |
6 integration('with no lockfile, exits with error', () { | |
7 d.dir(appPath, [d.appPubspec()]).create(); | |
8 schedulePub(args: ["list-package-dirs", "--format=json"], outputJson: { | |
9 "error": 'Package "myapp" has no lockfile. Please run "pub get" first.' | |
10 }, exitCode: exit_codes.DATA); | |
11 }); | |
12 } | |
OLD | NEW |