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

Unified Diff: tests/compiler/dart2js/use_strict_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/uri_retention_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/use_strict_test.dart
diff --git a/tests/compiler/dart2js/use_strict_test.dart b/tests/compiler/dart2js/use_strict_test.dart
index 0461fb75b020d4126aecbfd50a9ad79896af4cd9..4e86dbba7f4c231c558ff490ac38a9f548944dc3 100644
--- a/tests/compiler/dart2js/use_strict_test.dart
+++ b/tests/compiler/dart2js/use_strict_test.dart
@@ -3,6 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
import 'package:async_helper/async_helper.dart';
+import 'package:compiler/compiler_new.dart';
import 'package:expect/expect.dart';
import 'memory_compiler.dart';
@@ -50,7 +51,7 @@ main() {
asyncTest(() async {
await runCompiler(
memorySourceFiles: MEMORY_SOURCE_FILES, outputProvider: collector);
- String jsOutput = collector.getOutput('', 'js');
+ String jsOutput = collector.getOutput('', OutputType.js);
// Skip comments.
List<String> lines = jsOutput.split("\n");
« no previous file with comments | « tests/compiler/dart2js/uri_retention_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698