| 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 0423c875bc11387c55f1169e87a05383b34ea4d7..6386ca15eadb6ee2acf4177a6e8896269899b336 100644
|
| --- a/tests/compiler/dart2js/error_token_test.dart
|
| +++ b/tests/compiler/dart2js/error_token_test.dart
|
| @@ -32,27 +32,21 @@ Future runTest(String code,
|
|
|
| void main() {
|
| asyncTest(() async {
|
| - await runTest(
|
| - '''
|
| + await runTest('''
|
| main() {Foo.bar();}
|
| class Foo {
|
| static void bar() {
|
| baz());
|
| }
|
| }
|
| -''',
|
| - error: MessageKind.MISSING_TOKEN_AFTER_THIS,
|
| - expectedWarningCount: 1);
|
| +''', error: MessageKind.MISSING_TOKEN_AFTER_THIS, expectedWarningCount: 1);
|
|
|
| - await runTest(
|
| - '''
|
| + await runTest('''
|
| main() {new C(v);}
|
| class C {
|
| C(v) {
|
| throw '');
|
| }
|
| -}''',
|
| - error: MessageKind.MISSING_TOKEN_AFTER_THIS,
|
| - expectedWarningCount: 1);
|
| +}''', error: MessageKind.MISSING_TOKEN_AFTER_THIS, expectedWarningCount: 1);
|
| });
|
| }
|
|
|