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

Unified Diff: tests/compiler/dart2js/strength_eq_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/ssa_phi_codegen_test.dart ('k') | tests/compiler/dart2js/string_escapes_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/strength_eq_test.dart
diff --git a/tests/compiler/dart2js/strength_eq_test.dart b/tests/compiler/dart2js/strength_eq_test.dart
index bddafaa663e24e8af5367bf8804dc90ab33e6c57..ffc082eab2e41c0bfa45664dda4cf19ec1e3ee47 100644
--- a/tests/compiler/dart2js/strength_eq_test.dart
+++ b/tests/compiler/dart2js/strength_eq_test.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
// Test constant folding on numbers.
-import "package:expect/expect.dart";
+import 'package:async_helper/async_helper.dart';
import 'compiler_helper.dart';
const String CODE = """
@@ -27,5 +27,5 @@ main() {
// The `==` is strengthened to a HIdentity instruction. The HIdentity follows
// `x.link`, so x cannot be `null`.
var compare = new RegExp(r'x === x\.get\$link\(\)');
- compileAndMatch(CODE, 'main', compare);
+ asyncTest(() => compileAndMatch(CODE, 'main', compare));
}
« no previous file with comments | « tests/compiler/dart2js/ssa_phi_codegen_test.dart ('k') | tests/compiler/dart2js/string_escapes_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698