v8/test/message/strict-octal-string.out
mstarzinger 57ef4f4f3a [testing] Convert some "preparser" tests into "message".
This converts existing "preparser" tests that expect a certain exception
message to be produced into "message" tests. Thereby we get much better
coverage because the former test suite degraded by now to just check
whether each test case threw or not, the exception message was not being
checked at all.

This also deprecates the ability of "preparser" to specify that single
test cases based on JS files are expected to throw, "messages" is far
superior, use that test suite instead.

R=machenbach@chromium.org
TEST=message,preparser

Review URL: https://codereview.chromium.org/1784013003

Cr-Commit-Position: refs/heads/master@{#34713}
2016-03-11 11:00:12 +00:00

5 lines
186 B
Plaintext

*%(basename)s:32: SyntaxError: Octal literals are not allowed in strict mode.
var x = "hello\040world";
^^
SyntaxError: Octal literals are not allowed in strict mode.