Index: tests/compiler/dart2js/js_backend_cps_ir_test.dart |
diff --git a/tests/compiler/dart2js/js_backend_cps_ir_test.dart b/tests/compiler/dart2js/js_backend_cps_ir_test.dart |
index 396e0e85dfcaf6cc173d858501f86f594f578965..ab7f761cbc5d7cabaf787acbf93ebf0654a5fb83 100644 |
--- a/tests/compiler/dart2js/js_backend_cps_ir_test.dart |
+++ b/tests/compiler/dart2js/js_backend_cps_ir_test.dart |
@@ -53,8 +53,8 @@ main() { |
asyncTest(() { |
Compiler compiler = compilerFor(files); |
Uri uri = Uri.parse('memory:$TEST_MAIN_FILE'); |
- return compiler.run(uri).then((_) { |
- Expect.isNotNull(compiler.assembledCode); |
+ return compiler.run(uri).then((bool success) { |
+ Expect.isTrue(success); |
String expectation = test.expectation; |
if (expectation != null) { |
String expected = test.expectation; |