Chromium Code Reviews| Index: tests/compiler/dart2js/bad_loop_test.dart |
| diff --git a/tests/compiler/dart2js/bad_loop_test.dart b/tests/compiler/dart2js/bad_loop_test.dart |
| index 5cecb22cf81b054c83068a86a3e762b083029ea0..2c085b60c43d4467862c630cdbb45d6a820a455f 100644 |
| --- a/tests/compiler/dart2js/bad_loop_test.dart |
| +++ b/tests/compiler/dart2js/bad_loop_test.dart |
| @@ -37,10 +37,11 @@ main() { |
| libraryRoot, |
| packageRoot, |
| ['--analyze-only']); |
| - compiler.run(Uri.parse('memory:main.dart')); |
| - Expect.isTrue(compiler.compilationFailed); |
| - Expect.equals(5, errorCount); |
| - Expect.equals(1, warningCount); |
| + compiler.run(Uri.parse('memory:main.dart')).then((_) { |
|
ahe
2013/08/06 16:29:17
Needs dart/tests/async_helper.dart.
Johnni Winther
2013/08/27 11:05:00
Done.
|
| + Expect.isTrue(compiler.compilationFailed); |
| + Expect.equals(5, errorCount); |
| + Expect.equals(1, warningCount); |
| + }); |
| } |
| const Map MEMORY_SOURCE_FILES = const { |