Index: test/cctest/test-global-object.cc |
diff --git a/test/cctest/test-global-object.cc b/test/cctest/test-global-object.cc |
index 0e2c9408c6222b4a17c4a89a84a5b811c9731f97..b0ed29daf1c1947b1f37c52ae940d086ffd00885 100644 |
--- a/test/cctest/test-global-object.cc |
+++ b/test/cctest/test-global-object.cc |
@@ -47,5 +47,5 @@ TEST(StrictUndeclaredGlobalVariable) { |
script->Run(); |
CHECK(try_catch.HasCaught()); |
v8::String::Utf8Value exception(try_catch.Exception()); |
- CHECK_EQ("ReferenceError: x is not defined", *exception); |
+ CHECK_EQ(0, strcmp("ReferenceError: x is not defined", *exception)); |
} |