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 ed3a0b412a1112e964764bfbd71bfc72a55e44ea..1166cf0b816470ab214f1d739748e0e25d1451a9 100644 |
--- a/test/cctest/compiler/test-run-jscalls.cc |
+++ b/test/cctest/compiler/test-run-jscalls.cc |
@@ -144,11 +144,10 @@ TEST(RuntimeCallCPP2) { |
TEST(RuntimeCallJS) { |
FLAG_allow_natives_syntax = true; |
- FunctionTester T("(function(a) { return %to_string_fun(a); })"); |
+ FunctionTester T("(function(a) { return %non_string_to_string(a); })"); |
T.CheckCall(T.Val("23"), T.Val(23), T.undefined()); |
T.CheckCall(T.Val("4.2"), T.Val(4.2), T.undefined()); |
- T.CheckCall(T.Val("str"), T.Val("str"), T.undefined()); |
T.CheckCall(T.Val("true"), T.true_value(), T.undefined()); |
T.CheckCall(T.Val("false"), T.false_value(), T.undefined()); |
T.CheckCall(T.Val("undefined"), T.undefined(), T.undefined()); |