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

Unified Diff: tests/compiler/dart2js/licm_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
« no previous file with comments | « tests/compiler/dart2js/js_parser_test.dart ('k') | tests/compiler/dart2js/literal_list_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/licm_test.dart
diff --git a/tests/compiler/dart2js/licm_test.dart b/tests/compiler/dart2js/licm_test.dart
index 3e1a98ad39094060c8d47267e76cd65e50ec1ec2..438d1743bfeb725b23ed718fa41ae55aefb9e151 100644
--- a/tests/compiler/dart2js/licm_test.dart
+++ b/tests/compiler/dart2js/licm_test.dart
@@ -5,8 +5,7 @@
// Check that we hoist instructions in a loop condition, even if that
// condition involves control flow.
-import 'package:expect/expect.dart';
-
+import 'package:async_helper/async_helper.dart';
import 'compiler_helper.dart';
const String TEST = '''
@@ -25,6 +24,6 @@ main() {
''';
main() {
- compileAndMatch(TEST, 'main',
- new RegExp('if \\(typeof count !== "number"\\)(.|\\n)*while'));
+ asyncTest(() => compileAndMatch(TEST, 'main',
+ new RegExp('if \\(typeof count !== "number"\\)(.|\\n)*while')));
}
« no previous file with comments | « tests/compiler/dart2js/js_parser_test.dart ('k') | tests/compiler/dart2js/literal_list_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698