Browse Source

Adapt tests V8 3.24 also

Stefan Siegl 9 years ago
parent
commit
3808f69dea
2 changed files with 2 additions and 2 deletions
  1. 1 1
      tests/issue_183_001.phpt
  2. 1 1
      tests/issue_183_002.phpt

+ 1 - 1
tests/issue_183_001.phpt

@@ -23,7 +23,7 @@ $v8->executeString($JS);
 ?>
 ===EOF===
 --EXPECTF--
-Fatal error: Uncaught exception 'V8JsScriptException' with message 'V8Js::compileString():1: TypeError: %s is not a function' in %s
+Fatal error: Uncaught exception 'V8JsScriptException' with message 'V8Js::compileString():1: TypeError: %s' in %s
 Stack trace:
 #0 %s: V8Js->executeString('PHP.hello();')
 #1 {main}

+ 1 - 1
tests/issue_183_002.phpt

@@ -23,7 +23,7 @@ $v8->executeString($JS);
 ?>
 ===EOF===
 --EXPECTF--
-Fatal error: Uncaught exception 'V8JsScriptException' with message 'V8Js::compileString():1: TypeError: %s is not a function' in %s
+Fatal error: Uncaught exception 'V8JsScriptException' with message 'V8Js::compileString():1: TypeError: %s' in %s
 Stack trace:
 #0 %s: V8Js->executeString('PHP.hello();')
 #1 {main}