Index: tests/compiler/dart2js/simple_inferrer_relations_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_relations_test.dart b/tests/compiler/dart2js/simple_inferrer_relations_test.dart |
index 4b3af4a82f2501ce65861cf93729e9178d863985..44cf647f1121089833675a41629f5e7631045511 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_relations_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_relations_test.dart |
@@ -3,6 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file. |
import 'package:expect/expect.dart'; |
+import "../../async_helper.dart"; |
import |
'../../../sdk/lib/_internal/compiler/implementation/types/types.dart' |
show TypeMask; |
@@ -51,9 +52,10 @@ main() { |
"""; |
void main() { |
- String generated = compileAll(TEST); |
- if (generated.contains(r'=== true')) { |
- print(generated); |
- Expect.fail("missing elision of '=== true'"); |
- } |
+ asyncTest(() => compileAll(TEST).then((generated) { |
+ if (generated.contains(r'=== true')) { |
+ print(generated); |
+ Expect.fail("missing elision of '=== true'"); |
+ } |
+ })); |
} |