Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Side by Side Diff: tests/compiler/dart2js/async_await_syntax_test.dart

Issue 864643006: Allow sync *, async * and yield * in dart2js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/compiler/lib/src/warnings.dart ('k') | tests/compiler/dart2js/dart2js.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 /// Map of test files to run together with their associated whitelist.
11 'language/async_await_syntax_test.dart', 11 ///
12 ]; 12 /// For instance
13 /// 'language/async_await_syntax_test.dart': const ['a03b', 'a04b']
14 /// includes the multitest in 'language/async_await_syntax_test.dart' but
15 /// expects the subtests 'a03b' and 'a04c' to fail.
16 const Map<String, List<String>> TESTS = const <String, List<String>>{
17 'language/async_await_syntax_test.dart': const [],
18 };
13 19
14 void main(List<String> arguments) { 20 void main(List<String> arguments) {
15 check(TESTS, arguments: arguments, options: ['--enable-async']); 21 check(TESTS, arguments: arguments, options: ['--enable-async']);
16 } 22 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/warnings.dart ('k') | tests/compiler/dart2js/dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698