| Index: dart/tests/compiler/dart2js/message_kind_test.dart
|
| diff --git a/dart/tests/compiler/dart2js/message_kind_test.dart b/dart/tests/compiler/dart2js/message_kind_test.dart
|
| index b2f1e464ed798947416e396620827b2529b788b6..b3cca951ad06ea5f8b0e65e129e605ab61aa0cbf 100644
|
| --- a/dart/tests/compiler/dart2js/message_kind_test.dart
|
| +++ b/dart/tests/compiler/dart2js/message_kind_test.dart
|
| @@ -48,18 +48,10 @@ main() {
|
| asyncTest(() => Future.forEach(examples, (String name) {
|
| print("Checking '$name'.");
|
| Stopwatch sw = new Stopwatch()..start();
|
| - bool useCachedCompiler = true;
|
| - if (name == 'MISSING_LIBRARY_NAME') {
|
| - // TODO(johnniwinther): Found out why we cannot use the cached compiler
|
| - // for this message kind.
|
| - cachedCompiler = null;
|
| - }
|
| - return check(kinds[name], cachedCompiler).
|
| - then((var compiler) {
|
| - cachedCompiler = compiler;
|
| - sw.stop();
|
| - print("Checked '$name' in ${sw.elapsedMilliseconds}ms.");
|
| - });
|
| - }
|
| - ));
|
| + return check(kinds[name], cachedCompiler).then((var compiler) {
|
| + cachedCompiler = compiler;
|
| + sw.stop();
|
| + print("Checked '$name' in ${sw.elapsedMilliseconds}ms.");
|
| + });
|
| + }));
|
| }
|
|
|