Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1596)

Unified Diff: tests/compiler/dart2js/unused_empty_map_test.dart

Issue 2939063002: Strong mode cleaning of many dart2js tests. (Closed)
Patch Set: Use ClassElement. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
});

Powered by Google App Engine
This is Rietveld 408576698