Index: tests/compiler/dart2js/js_backend_cps_ir_source_information_test.dart |
diff --git a/tests/compiler/dart2js/js_backend_cps_ir_source_information_test.dart b/tests/compiler/dart2js/js_backend_cps_ir_source_information_test.dart |
index 2c68f48d77e19a086da6086fcd90c0955ca95597..781ef91ca08947319921c0bb27f2c895ff25afed 100644 |
--- a/tests/compiler/dart2js/js_backend_cps_ir_source_information_test.dart |
+++ b/tests/compiler/dart2js/js_backend_cps_ir_source_information_test.dart |
@@ -60,7 +60,7 @@ String getCodeForMethod(CompilerImpl compiler, String name) { |
} |
js.Node ast = compiler.enqueuer.codegen.generatedCode[foundElement]; |
- return js.prettyPrint(ast, compiler).getText(); |
+ return js.prettyPrint(ast, compiler); |
} |
runTests(List<TestEntry> tests) { |