Skip to content

Commit 9fd25e6

Browse files
committed
Merge pull request #209 from stesie/fix-tests-v8-5.1
Adapt test expectations to V8 error message changes
2 parents 82ffaa2 + 67269dd commit 9fd25e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/checkstring.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ Deprecated: Function V8Js::checkString() is deprecated in %s on line %d
2020
bool(true)
2121

2222
Deprecated: Function V8Js::checkString() is deprecated in %s on line %d
23-
string(60) "V8Js::checkString():1: SyntaxError: Unexpected token ILLEGAL"
23+
string(%d) "V8Js::checkString():1: SyntaxError: %s"
2424
===EOF===

tests/checkstring_compile.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ try {
1717
===EOF===
1818
--EXPECTF--
1919
resource(%d) of type (V8Js script)
20-
string(62) "V8Js::compileString():1: SyntaxError: Unexpected token ILLEGAL"
20+
string(%d) "V8Js::compileString():1: SyntaxError: %s"
2121
===EOF===

0 commit comments

Comments
 (0)