Index: tests/compiler/dart2js/unused_empty_map_test.dart |
diff --git a/tests/compiler/dart2js/unused_empty_map_test.dart b/tests/compiler/dart2js/unused_empty_map_test.dart |
index a8ad30aa16e90d2c6cc6e75f266cf34f126ee3be..62e6e0688bb51f6b5d375e0db565da349f9ce1b3 100644 |
--- a/tests/compiler/dart2js/unused_empty_map_test.dart |
+++ b/tests/compiler/dart2js/unused_empty_map_test.dart |
@@ -23,9 +23,8 @@ const HASHMAP_EMPTY_CONSTRUCTOR = r"LinkedHashMap_LinkedHashMap$_empty"; |
main() { |
asyncTest(() async { |
var collector = new OutputCollector(); |
- var result = await runCompiler( |
+ await runCompiler( |
memorySourceFiles: TEST_SOURCE, outputProvider: collector); |
- var compiler = result.compiler; |
String generated = collector.getOutput('', OutputType.js); |
Expect.isFalse(generated.contains(HASHMAP_EMPTY_CONSTRUCTOR)); |
}); |