Index: test/cctest/compiler/test-run-jscalls.cc |
diff --git a/test/cctest/compiler/test-run-jscalls.cc b/test/cctest/compiler/test-run-jscalls.cc |
index 893c2fa46052eb9f64d3b1d00c8770b6a4e24a64..4ed83b318900db679cee862eaf81f06b97ffc37e 100644 |
--- a/test/cctest/compiler/test-run-jscalls.cc |
+++ b/test/cctest/compiler/test-run-jscalls.cc |
@@ -144,7 +144,7 @@ TEST(RuntimeCallCPP2) { |
TEST(RuntimeCallJS) { |
FLAG_allow_natives_syntax = true; |
- FunctionTester T("(function(a) { return %$toString(a); })"); |
+ FunctionTester T("(function(a) { return %to_string_fun(a); })"); |
T.CheckCall(T.Val("23"), T.Val(23), T.undefined()); |
T.CheckCall(T.Val("4.2"), T.Val(4.2), T.undefined()); |