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

Side by Side Diff: tests/language_2/async_and_or_test.dart

Issue 2990773002: Migrate language/arithmetic2_test ... language/async_await_syntax_test. (Closed)
Patch Set: Update migrated tests and statuses to Dart 2.0. Created 3 years, 4 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
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 import "package:expect/expect.dart"; 4 import "package:expect/expect.dart";
5 import "package:async_helper/async_helper.dart"; 5 import "package:async_helper/async_helper.dart";
6 6
7 @NoInline() 7 @NoInline()
8 @AssumeDynamic() 8 @AssumeDynamic()
9 confuse(x) { 9 confuse(x) {
10 return x; 10 return x;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 test() async { 80 test() async {
81 await test1(); 81 await test1();
82 await test2(); 82 await test2();
83 } 83 }
84 84
85 main() { 85 main() {
86 asyncStart(); 86 asyncStart();
87 test().then((_) => asyncEnd()); 87 test().then((_) => asyncEnd());
88 } 88 }
OLDNEW
« no previous file with comments | « tests/language_2/assignable_expression_test.dart ('k') | tests/language_2/async_await_catch_regression_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698