Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 15cb651909b925663ede878e940e73775e298816..c72e08e9dd048e41c01a283a387c02e802a73a28 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -11670,7 +11670,7 @@ THREADED_TEST(Regress567998) { |
CHECK( |
env->Global()->Set(env.local(), v8_str("undetectable"), obj).FromJust()); |
- ExpectString("undetectable.toString()", "[object Object]"); |
+ ExpectString("undetectable.toString()", "[object Function]"); |
ExpectString("typeof undetectable", "undefined"); |
ExpectString("typeof(undetectable)", "undefined"); |
ExpectBoolean("typeof undetectable == 'undefined'", true); |