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

Unified Diff: tests/compiler/dart2js/expect_annotations2_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/dump_info_test.dart ('k') | tests/compiler/dart2js/line_column_provider_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/expect_annotations2_test.dart
diff --git a/tests/compiler/dart2js/expect_annotations2_test.dart b/tests/compiler/dart2js/expect_annotations2_test.dart
index 16089752b98689cf9113e2603ca65282d68ed9e8..d00755e03a83ba1394f26361ee81306f591be55b 100644
--- a/tests/compiler/dart2js/expect_annotations2_test.dart
+++ b/tests/compiler/dart2js/expect_annotations2_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';
const MEMORY_SOURCE_FILES = const {
@@ -41,7 +42,7 @@ void main() {
memorySourceFiles: MEMORY_SOURCE_FILES, outputProvider: collector);
// Simply check that the constants of the small functions are still in the
// output, and that we don't see the result of constant folding.
- String jsOutput = collector.getOutput('', 'js');
+ String jsOutput = collector.getOutput('', OutputType.js);
Expect.isTrue(jsOutput.contains('49912344'));
Expect.isTrue(jsOutput.contains('123455'));
« no previous file with comments | « tests/compiler/dart2js/dump_info_test.dart ('k') | tests/compiler/dart2js/line_column_provider_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698