Index: tools/testing/dart/test_runner.dart |
diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart |
index 1bdf34e2b4d22e29967d886c11ae23140e30d9e3..1d1399042ec6595c60684f8bb33966f62a149e6d 100644 |
--- a/tools/testing/dart/test_runner.dart |
+++ b/tools/testing/dart/test_runner.dart |
@@ -1382,6 +1382,10 @@ class BrowserControllerTestOutcome extends CommandOutputImpl |
if (_rawOutcome == Expectation.RUNTIME_ERROR) return Expectation.PASS; |
return Expectation.MISSING_RUNTIME_ERROR; |
} |
+ if (testCase.hasCompileError) { |
+ if (_rawOutcome == Expectation.RUNTIME_ERROR) return Expectation.PASS; |
ricow1
2015/01/15 09:50:15
why?
Bill Hesse
2015/01/15 10:18:05
Change removed. The _negateOutcomeIfNegativeTest
|
+ return Expectation.MISSING_COMPILETIME_ERROR ; |
ricow1
2015/01/15 09:50:15
remove space before ;
|
+ } |
return _negateOutcomeIfNegativeTest(_rawOutcome, testCase.isNegative); |
} |