فهرست منبع

Merge pull request #209 from stesie/fix-tests-v8-5.1

Adapt test expectations to V8 error message changes
Stefan Siegl 9 سال پیش
والد
کامیت
9fd25e6fff
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      tests/checkstring.phpt
  2. 1 1
      tests/checkstring_compile.phpt

+ 1 - 1
tests/checkstring.phpt

@@ -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===

+ 1 - 1
tests/checkstring_compile.phpt

@@ -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===