0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 09:21:52 +00:00

Adapt test expectations to V8 error message changes

V8 5.1 uses slightly changed SyntaxError messages.
This adapts our tests as needed (for support of V8 5.1 as well
as older versions)
This commit is contained in:
Stefan Siegl 2016-03-05 17:11:52 +01:00
parent 82ffaa2c35
commit 67269ddfc4
2 changed files with 2 additions and 2 deletions

View File

@ -20,5 +20,5 @@ Deprecated: Function V8Js::checkString() is deprecated in %s on line %d
bool(true)
Deprecated: Function V8Js::checkString() is deprecated in %s on line %d
string(60) "V8Js::checkString():1: SyntaxError: Unexpected token ILLEGAL"
string(%d) "V8Js::checkString():1: SyntaxError: %s"
===EOF===

View File

@ -17,5 +17,5 @@ try {
===EOF===
--EXPECTF--
resource(%d) of type (V8Js script)
string(62) "V8Js::compileString():1: SyntaxError: Unexpected token ILLEGAL"
string(%d) "V8Js::compileString():1: SyntaxError: %s"
===EOF===