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

Unified Diff: tests/compiler/dart2js/number_output_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/mock_compiler.dart ('k') | tests/compiler/dart2js/output_collector.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/number_output_test.dart
diff --git a/tests/compiler/dart2js/number_output_test.dart b/tests/compiler/dart2js/number_output_test.dart
index af53a597e8f6cfa114df98e9025c194d6527b974..021f887f798a20ff21adda2b5826a650ba20d289 100644
--- a/tests/compiler/dart2js/number_output_test.dart
+++ b/tests/compiler/dart2js/number_output_test.dart
@@ -4,6 +4,7 @@
import 'dart:async';
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 @@ Future test({bool minify}) async {
options: minify ? ['--minify'] : []);
// Check that we use the shorter exponential representations.
- String jsOutput = collector.getOutput('', 'js');
+ String jsOutput = collector.getOutput('', OutputType.js);
print(jsOutput);
if (minify) {
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | tests/compiler/dart2js/output_collector.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698