| Index: dart/tests/compiler/dart2js/exit_code_test.dart
|
| diff --git a/dart/tests/compiler/dart2js/exit_code_test.dart b/dart/tests/compiler/dart2js/exit_code_test.dart
|
| index 3bf7efe541f6651a50073f8bee6962c3a2a9d29b..b70fe4ab17df4b862cee7950a397c6e96688e4fa 100644
|
| --- a/dart/tests/compiler/dart2js/exit_code_test.dart
|
| +++ b/dart/tests/compiler/dart2js/exit_code_test.dart
|
| @@ -2,8 +2,7 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// Test the exit code of dart2js in case of exceptions, fatal errors, errors,
|
| -// warnings, etc.
|
| +// Test the exit code of dart2js in case of exceptions, errors, warnings, etc.
|
|
|
|
|
| import 'dart:async';
|
| @@ -97,12 +96,6 @@ class TestCompiler extends apiimpl.Compiler {
|
| reportError(NO_LOCATION_SPANNABLE,
|
| MessageKind.GENERIC, {'text': marker});
|
| break;
|
| - case 'fatalError':
|
| - onTest(testMarker, testType);
|
| - reportError(NO_LOCATION_SPANNABLE,
|
| - MessageKind.GENERIC, {'text': marker});
|
| - throw new CompilerCancelledException(null);
|
| - break;
|
| case 'internalError':
|
| onTest(testMarker, testType);
|
| internalError(NO_LOCATION_SPANNABLE, marker);
|
| @@ -235,7 +228,6 @@ void main() {
|
| 'invariant': 253,
|
| 'warning': 0,
|
| 'error': 1,
|
| - 'fatalError': 1,
|
| 'internalError': 253,
|
| };
|
|
|
|
|