diff --git a/packages/flutter_tools/test/init_test.dart b/packages/flutter_tools/test/init_test.dart index dc16b7cbac..f4d113b7fc 100644 --- a/packages/flutter_tools/test/init_test.dart +++ b/packages/flutter_tools/test/init_test.dart @@ -36,6 +36,10 @@ defineTests() { ProcessResult exec = Process.runSync( 'dartanalyzer', ['--fatal-warnings', path], workingDirectory: temp.path); + if (exec.exitCode != 0) { + print(exec.stdout); + print(exec.stderr); + } expect(exec.exitCode, 0); }); });