| Index: tests/compiler/dart2js/error_token_test.dart
|
| diff --git a/tests/compiler/dart2js/error_token_test.dart b/tests/compiler/dart2js/error_token_test.dart
|
| index 2000f1a1fabd3c77f05c2a5d65ac7ac0f308c3a3..6c99b6d4b2212e4f98b6e105582d5984c6bfbf0c 100644
|
| --- a/tests/compiler/dart2js/error_token_test.dart
|
| +++ b/tests/compiler/dart2js/error_token_test.dart
|
| @@ -32,21 +32,25 @@ Future runTest(String code, {MessageKind error}) async {
|
|
|
| void main() {
|
| asyncTest(() async {
|
| - await runTest('''
|
| + await runTest(
|
| + '''
|
| main() {}
|
| class Foo {
|
| static void bar() {
|
| baz());
|
| }
|
| }
|
| -''', error: MessageKind.UNMATCHED_TOKEN);
|
| +''',
|
| + error: MessageKind.UNMATCHED_TOKEN);
|
|
|
| - await runTest('''
|
| + await runTest(
|
| + '''
|
| main() {}
|
| class C {
|
| C(v) {
|
| throw '');
|
| }
|
| -}''', error: MessageKind.UNMATCHED_TOKEN);
|
| +}''',
|
| + error: MessageKind.UNMATCHED_TOKEN);
|
| });
|
| }
|
|
|