flutter start should give better errors when it can't find main
Now we suggest using -t to specify the main Dart file. Fixes #53
This commit is contained in:
@@ -38,7 +38,7 @@ defineTests() {
|
||||
|
||||
CommandRunner runner = new CommandRunner('test_flutter', '')
|
||||
..addCommand(command);
|
||||
runner.run(['start']).then((int code) => expect(code, equals(0)));
|
||||
runner.run(['start', '-t', 'test/start_test.dart']).then((int code) => expect(code, equals(0)));
|
||||
});
|
||||
|
||||
test('returns 0 when iOS is connected and ready to be started', () {
|
||||
|
||||
Reference in New Issue
Block a user