| Index: tests/compiler/dart2js/inferrer_factory_test.dart
|
| diff --git a/tests/compiler/dart2js/inferrer_factory_test.dart b/tests/compiler/dart2js/inferrer_factory_test.dart
|
| index 7e2c9ec0fa5add3f45fb1e730512197630f35c65..7fa0a2c2ef1434511d649baf05aba1942c3d937e 100644
|
| --- a/tests/compiler/dart2js/inferrer_factory_test.dart
|
| +++ b/tests/compiler/dart2js/inferrer_factory_test.dart
|
| @@ -22,9 +22,10 @@ main() {
|
| """;
|
|
|
| main() {
|
| - String generated = compileAll(TEST1);
|
| - // Check that we're using the index operator on the object returned
|
| - // by the A factory.
|
| - Expect.isTrue(generated.contains('[0] = 42'));
|
| + compileAll(TEST1).then((generated) {
|
| + // Check that we're using the index operator on the object returned
|
| + // by the A factory.
|
| + Expect.isTrue(generated.contains('[0] = 42'));
|
| + });
|
| }
|
|
|
|
|