Index: tests/compiler/dart2js/const_exp_test.dart |
diff --git a/tests/compiler/dart2js/const_exp_test.dart b/tests/compiler/dart2js/const_exp_test.dart |
index 3117c2db9f971f00f101afdd8a383e736c9476b0..1356bad1fe7ebe8cc68973400bd9b135c882d850 100644 |
--- a/tests/compiler/dart2js/const_exp_test.dart |
+++ b/tests/compiler/dart2js/const_exp_test.dart |
@@ -34,10 +34,10 @@ test(String constantInitializer, [String expectedOutput]) { |
var value = env.compiler.constants.getConstantValue(constant); |
Expect.isNotNull(constant, |
"No constant computed for '$element'."); |
- Expect.equals(expectedOutput, constant.getText(), |
- "Unexpected to string '${constant.getText()}' for constant " |
+ Expect.equals(expectedOutput, constant.toDartText(), |
+ "Unexpected to string '${constant.toDartText()}' for constant " |
"'$constantInitializer' of value " |
- "${value.toStructuredString()}"); |
+ "${value.toStructuredText()}"); |
}); |
} |