| Index: tests/compiler/dart2js/async_await_syntax_test.dart
|
| diff --git a/tests/compiler/dart2js/async_await_syntax_test.dart b/tests/compiler/dart2js/async_await_syntax_test.dart
|
| index 336a7cd0545dd641da236e515286ff0683f22e67..bf9d53383ea2fd2c65fe59d038d7fc0a3da0cb59 100644
|
| --- a/tests/compiler/dart2js/async_await_syntax_test.dart
|
| +++ b/tests/compiler/dart2js/async_await_syntax_test.dart
|
| @@ -1,22 +1,22 @@
|
| -// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
|
| -// 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 that dart2js produces the expected static type warnings and
|
| -// compile-time errors for these tests.
|
| -
|
| -import 'frontend_checker.dart';
|
| -
|
| -/// Map of test files to run together with their associated whitelist.
|
| -///
|
| -/// For instance
|
| -/// 'language/async_await_syntax_test.dart': const ['a03b', 'a04b']
|
| -/// includes the multitest in 'language/async_await_syntax_test.dart' but
|
| -/// expects the subtests 'a03b' and 'a04c' to fail.
|
| -const Map<String, List<String>> TESTS = const <String, List<String>>{
|
| - 'language/async_await_syntax_test.dart': const [],
|
| -};
|
| -
|
| -void main(List<String> arguments) {
|
| - check(TESTS, arguments: arguments, options: ['--enable-async']);
|
| -}
|
| +// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
|
| +// 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 that dart2js produces the expected static type warnings and
|
| +// compile-time errors for these tests.
|
| +
|
| +import 'frontend_checker.dart';
|
| +
|
| +/// Map of test files to run together with their associated whitelist.
|
| +///
|
| +/// For instance
|
| +/// 'language/async_await_syntax_test.dart': const ['a03b', 'a04b']
|
| +/// includes the multitest in 'language/async_await_syntax_test.dart' but
|
| +/// expects the subtests 'a03b' and 'a04c' to fail.
|
| +const Map<String, List<String>> TESTS = const <String, List<String>>{
|
| + 'language/async_await_syntax_test.dart': const [],
|
| +};
|
| +
|
| +void main(List<String> arguments) {
|
| + check(TESTS, arguments: arguments, options: ['--enable-async']);
|
| +}
|
|
|