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

Unified Diff: tests/compiler/dart2js/preserve_uris_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/output_type_test.dart ('k') | tests/compiler/dart2js/private_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/preserve_uris_test.dart
diff --git a/tests/compiler/dart2js/preserve_uris_test.dart b/tests/compiler/dart2js/preserve_uris_test.dart
index ed7a361c66612676e1018650ac84e7d923cf4e17..fdf660f79021439795d55064a6de6c12fbcc53a5 100644
--- a/tests/compiler/dart2js/preserve_uris_test.dart
+++ b/tests/compiler/dart2js/preserve_uris_test.dart
@@ -4,6 +4,7 @@
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;
const MEMORY_SOURCE_FILES = const <String, String>{
@@ -45,7 +46,7 @@ runTest(bool preserveUris) async {
memorySourceFiles: MEMORY_SOURCE_FILES,
outputProvider: collector,
options: options);
- String jsOutput = collector.getOutput('', 'js');
+ String jsOutput = collector.getOutput('', OutputType.js);
Expect.equals(preserveUris, jsOutput.contains("main.dart"));
Expect.equals(preserveUris, jsOutput.contains("lib.dart"));
}
« no previous file with comments | « tests/compiler/dart2js/output_type_test.dart ('k') | tests/compiler/dart2js/private_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698