Index: test/cctest/test-deoptimization.cc |
diff --git a/test/cctest/test-deoptimization.cc b/test/cctest/test-deoptimization.cc |
index a201ccd7e47d1b1725b2c99fd6e783e300991dcf..e4c8e03314461f54128747f64980eefee7c00646 100644 |
--- a/test/cctest/test-deoptimization.cc |
+++ b/test/cctest/test-deoptimization.cc |
@@ -395,7 +395,7 @@ UNINITIALIZED_TEST(DeoptimizeBinaryOperationADDString) { |
v8::Handle<v8::Value> result = env->Global()->Get(v8_str("result")); |
CHECK(result->IsString()); |
v8::String::Utf8Value utf8(result); |
- CHECK_EQ("a+an X", *utf8); |
+ CHECK_EQ(0, strcmp("a+an X", *utf8)); |
CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(i_isolate)); |
} |
isolate->Exit(); |