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

Unified Diff: tests/compiler/dart2js/type_inference2_test.dart

Issue 326913002: Make dart2js unittests async. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 6 years, 6 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
Index: tests/compiler/dart2js/type_inference2_test.dart
diff --git a/tests/compiler/dart2js/type_inference2_test.dart b/tests/compiler/dart2js/type_inference2_test.dart
index a1613ac73e97274e8cc25220ea73189fc06991fe..5e5f224d27eb595de6afcf4b5df9aaa747c5acd2 100644
--- a/tests/compiler/dart2js/type_inference2_test.dart
+++ b/tests/compiler/dart2js/type_inference2_test.dart
@@ -2,6 +2,7 @@
// 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.
+import 'package:async_helper/async_helper.dart';
import 'compiler_helper.dart';
const String TEST_ONE = r"""
@@ -13,5 +14,5 @@ sum(param0, param1) {
""";
main() {
- compileAndMatchFuzzy(TEST_ONE, 'sum', r"\+\+x");
+ asyncTest(() => compileAndMatchFuzzy(TEST_ONE, 'sum', r"\+\+x"));
}
« no previous file with comments | « tests/compiler/dart2js/type_guard_unuser_test.dart ('k') | tests/compiler/dart2js/type_inference3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698