OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // Test that dart2js produces the expected static type warnings and | 5 // Test that dart2js produces the expected static type warnings and |
6 // compile-time errors for these tests. | 6 // compile-time errors for these tests. |
7 | 7 |
8 import 'frontend_checker.dart'; | 8 import 'frontend_checker.dart'; |
9 | 9 |
10 const List<String> TESTS = const <String>[ | 10 const List<String> TESTS = const <String>[ |
11 'compiler/dart2js/async_await_syntax.dart', | 11 'language/async_await_syntax_test.dart', |
12 ]; | 12 ]; |
13 | 13 |
14 void main(List<String> arguments) { | 14 void main(List<String> arguments) { |
15 check(TESTS, arguments: arguments, options: ['--enable-async']); | 15 check(TESTS, arguments: arguments, options: ['--enable-async']); |
16 } | 16 } |
OLD | NEW |