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

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

Issue 2690063002: Refactor CompilerOutput (Closed)
Patch Set: Updated cf. comments Created 3 years, 10 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 8ba21680426b27b1f60a0a441e8c8444263cb350..a8ad30aa16e90d2c6cc6e75f266cf34f126ee3be 100644
--- a/tests/compiler/dart2js/unused_empty_map_test.dart
+++ b/tests/compiler/dart2js/unused_empty_map_test.dart
@@ -5,6 +5,7 @@
// Ensure that unused empty HashMap nodes are dropped from the output.
import 'package:expect/expect.dart';
+import 'package:compiler/compiler_new.dart';
import 'package:async_helper/async_helper.dart';
import 'memory_compiler.dart';
@@ -25,7 +26,7 @@ main() {
var result = await runCompiler(
memorySourceFiles: TEST_SOURCE, outputProvider: collector);
var compiler = result.compiler;
- String generated = collector.getOutput('', 'js');
+ String generated = collector.getOutput('', OutputType.js);
Expect.isFalse(generated.contains(HASHMAP_EMPTY_CONSTRUCTOR));
});
}
« no previous file with comments | « tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart ('k') | tests/compiler/dart2js/uri_retention_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698