OLD | NEW |
(Empty) | |
| 1 import 'package:scheduled_test/scheduled_test.dart'; |
| 2 import '../../lib/src/exit_codes.dart' as exit_codes; |
| 3 import '../descriptor.dart' as d; |
| 4 import '../test_pub.dart'; |
| 5 import 'utils.dart'; |
| 6 main() { |
| 7 initConfig(); |
| 8 setUp(() { |
| 9 d.appDir().create(); |
| 10 }); |
| 11 pubBuildAndServeShouldFail( |
| 12 "on --all with no default source directories", |
| 13 args: ["--all"], |
| 14 error: 'There are no source directories present.\n' |
| 15 'The default directories are "benchmark", "bin", "example", ' |
| 16 '"test" and "web".', |
| 17 exitCode: exit_codes.DATA); |
| 18 } |
OLD | NEW |