0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-09-16 19:15:17 +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===
--EXPECT--
[object Closure]
--EXPECTF--
[object %s]
Hello foobar, I'm Closure!
===EOF===

View File

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

View File

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

View File

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