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

Unified Diff: tests/compiler/dart2js/uri_retention_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
« no previous file with comments | « tests/compiler/dart2js/unused_empty_map_test.dart ('k') | tests/compiler/dart2js/use_strict_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/uri_retention_test.dart
diff --git a/tests/compiler/dart2js/uri_retention_test.dart b/tests/compiler/dart2js/uri_retention_test.dart
index d8414909e1f6aba2ecf1cdb767e243ef51827e72..20bbb89976efbf6c9642d08d9cbf333e0fc8c44f 100644
--- a/tests/compiler/dart2js/uri_retention_test.dart
+++ b/tests/compiler/dart2js/uri_retention_test.dart
@@ -8,6 +8,7 @@ import 'dart:async';
import 'package:expect/expect.dart';
import "package:async_helper/async_helper.dart";
+import 'package:compiler/compiler_new.dart';
import 'memory_compiler.dart' show runCompiler, OutputCollector;
@@ -20,7 +21,7 @@ Future<String> compileSources(sources, {bool minify, bool preserveUri}) async {
memorySourceFiles: sources,
options: options,
outputProvider: outputCollector);
- return outputCollector.getOutput('', 'js');
+ return outputCollector.getOutput('', OutputType.js);
}
Future test(sources, {bool libName, bool fileName}) {
« no previous file with comments | « tests/compiler/dart2js/unused_empty_map_test.dart ('k') | tests/compiler/dart2js/use_strict_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698