Index: test/cctest/test-func-name-inference.cc |
diff --git a/test/cctest/test-func-name-inference.cc b/test/cctest/test-func-name-inference.cc |
index 7f3dafc0637b4c220422251649e27738900eee4e..24f9c73532fee85aca402c808732841f0528b78b 100644 |
--- a/test/cctest/test-func-name-inference.cc |
+++ b/test/cctest/test-func-name-inference.cc |
@@ -90,7 +90,7 @@ static void CheckFunctionName(v8::Handle<v8::Script> script, |
// Verify inferred function name. |
SmartArrayPointer<char> inferred_name = |
shared_func_info->inferred_name()->ToCString(); |
- CHECK_EQ(ref_inferred_name, inferred_name.get()); |
+ CHECK_EQ(0, strcmp(ref_inferred_name, inferred_name.get())); |
} |