| Index: tools/testing/dart/test_runner.dart
|
| diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart
|
| index 35d6613b154389d847b91fcf68d146a702f284d7..b88381e0c4fb5d9295eecfa006531e6aef9a5efd 100644
|
| --- a/tools/testing/dart/test_runner.dart
|
| +++ b/tools/testing/dart/test_runner.dart
|
| @@ -1441,9 +1441,7 @@ class AnalysisCommandOutputImpl extends CommandOutputImpl {
|
| parseAnalyzerOutput(errors, warnings);
|
|
|
| // Handle errors / missing errors
|
| - if (testCase.hasCompileError) {
|
| - // Don't use [TestCase.expectCompileError] since the analyzer does not
|
| - // (currently) report checked-mode only compile time errors.
|
| + if (testCase.expectCompileError) {
|
| if (errors.length > 0) {
|
| return Expectation.PASS;
|
| }
|
|
|