0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-11-09 15:18:41 +00:00

relax expectations on V8 toString conversions (broken by V8 8.4), refs #444

This commit is contained in:
Stefan Siegl 2020-08-21 10:10:56 +02:00
parent cb96e6e6cb
commit 403435d0c0
No known key found for this signature in database
GPG Key ID: 73942AF5642F3DDA
4 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@ try {
} }
?> ?>
===EOF=== ===EOF===
--EXPECT-- --EXPECTF--
[object Closure] [object %s]
Hello foobar, I'm Closure! Hello foobar, I'm Closure!
===EOF=== ===EOF===

View File

@ -24,7 +24,7 @@ try {
} }
?> ?>
===EOF=== ===EOF===
--EXPECT-- --EXPECTF--
[object Closure] [object %s]
Hello world Hello world
===EOF=== ===EOF===

View File

@ -23,7 +23,7 @@ $a->executeString('print(PHP.var.toString()); print("\n");');
?> ?>
===EOF=== ===EOF===
--EXPECT-- --EXPECTF--
Wed, 19 Mar 2014 14:37:11 GMT Wed, 19 Mar 2014 14:37:11 GMT
[object DateTime] [object %s]
===EOF=== ===EOF===

View File

@ -35,6 +35,6 @@ catch(V8JsScriptException $e) {
--EXPECTF-- --EXPECTF--
after getNonExceptionObject after getNonExceptionObject
Got V8JsScriptException Got V8JsScriptException
string(34) "php_exceptions_006:3: [object Foo]" string(%d) "php_exceptions_006:3: [object %s]"
NULL NULL
===EOF=== ===EOF===