more verbose test failures

This commit is contained in:
Devon Carew 2015-10-06 12:08:08 -07:00
parent 0364590b83
commit 524d8379f4

View file

@ -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);
});
});