| 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..feb4fccff3f45bbe6f883610b680060e810a0184 100644
|
| --- a/tests/compiler/dart2js/simple_inferrer_relations_test.dart
|
| +++ b/tests/compiler/dart2js/simple_inferrer_relations_test.dart
|
| @@ -51,9 +51,10 @@ main() {
|
| """;
|
|
|
| void main() {
|
| - String generated = compileAll(TEST);
|
| - if (generated.contains(r'=== true')) {
|
| - print(generated);
|
| - Expect.fail("missing elision of '=== true'");
|
| - }
|
| + compileAll(TEST).then((generated) {
|
| + if (generated.contains(r'=== true')) {
|
| + print(generated);
|
| + Expect.fail("missing elision of '=== true'");
|
| + }
|
| + });
|
| }
|
|
|