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

Unified Diff: tests/language/await_future_test.dart

Issue 894283003: Fix a mistake in a status-file (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/language/language_dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/await_future_test.dart
diff --git a/tests/language/await_future_test.dart b/tests/language/await_future_test.dart
index 2bd9a51289ff937cffb6b069b2cd912e941bd712..b0151c57f831a1db4b75c530812582ec4c82a07d 100644
--- a/tests/language/await_future_test.dart
+++ b/tests/language/await_future_test.dart
@@ -5,6 +5,7 @@
// VMOptions=--optimization-counter-threshold=5
import 'package:expect/expect.dart';
+import "package:async_helper/async_helper.dart";
import 'dart:async';
@@ -181,7 +182,7 @@ awaitForIn() async {
return k;
}
-main() async {
+test() async {
var result;
for (int i = 0; i < 10; i++) {
result = await foo();
@@ -226,3 +227,10 @@ main() async {
Expect.equals('abc', result);
}
}
+
+main() {
+ asyncStart();
+ test().then((_) {
+ asyncEnd();
+ });
+}
« no previous file with comments | « no previous file | tests/language/language_dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698