Browse Source

Adapt tests to different V8 versions

Stefan Siegl 9 years ago
parent
commit
796ae85cb6
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: PHP.hello is not a function' in %s
+Fatal error: Uncaught exception 'V8JsScriptException' with message 'V8Js::compileString():1: TypeError: %s is not a function' 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: PHP.hello is not a function' in %s
+Fatal error: Uncaught exception 'V8JsScriptException' with message 'V8Js::compileString():1: TypeError: %s is not a function' in %s
 Stack trace:
 #0 %s: V8Js->executeString('PHP.hello();')
 #1 {main}