Преглед изворни кода

Adapt tests to different V8 versions

Stefan Siegl пре 9 година
родитељ
комит
796ae85cb6
2 измењених фајлова са 2 додато и 2 уклоњено
  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}