| Index: tests/compiler/dart2js/exit_code_test.dart
|
| diff --git a/tests/compiler/dart2js/exit_code_test.dart b/tests/compiler/dart2js/exit_code_test.dart
|
| index 70b81725fe06fdef3a37ee007b061e302d891a39..acb111b7aaa1c5b04f4c0768ac0cc1ff7de04188 100644
|
| --- a/tests/compiler/dart2js/exit_code_test.dart
|
| +++ b/tests/compiler/dart2js/exit_code_test.dart
|
| @@ -98,13 +98,15 @@ class TestCompiler extends apiimpl.Compiler {
|
| break;
|
| case 'warning':
|
| onTest(testMarker, testType);
|
| - reportWarning(NO_LOCATION_SPANNABLE,
|
| - MessageKind.GENERIC, {'text': marker});
|
| + reportWarning(createMessage(
|
| + NO_LOCATION_SPANNABLE,
|
| + MessageKind.GENERIC, {'text': marker}));
|
| break;
|
| case 'error':
|
| onTest(testMarker, testType);
|
| - reportError(NO_LOCATION_SPANNABLE,
|
| - MessageKind.GENERIC, {'text': marker});
|
| + reportError(createMessage(
|
| + NO_LOCATION_SPANNABLE,
|
| + MessageKind.GENERIC, {'text': marker}));
|
| break;
|
| case 'internalError':
|
| onTest(testMarker, testType);
|
|
|