| Index: test/cctest/test-parsing.cc
|
| diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc
|
| index fe95ab7b9aa4bd153c3051c30144dd873e4b1a14..81d12063f2df986f3a2b289f2502b70443f47b20 100644
|
| --- a/test/cctest/test-parsing.cc
|
| +++ b/test/cctest/test-parsing.cc
|
| @@ -1615,9 +1615,9 @@ TEST(StrictOctal) {
|
| v8_compile(v8_str(script));
|
| CHECK(try_catch.HasCaught());
|
| v8::String::Utf8Value exception(try_catch.Exception());
|
| - CHECK_EQ(0,
|
| - strcmp("SyntaxError: Octal literals are not allowed in strict mode.",
|
| - *exception));
|
| + CHECK_EQ(0, strcmp("SyntaxError: Number literals must not have a '0' prefix "
|
| + "in strict mode.",
|
| + *exception));
|
| }
|
|
|
|
|
|
|