mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 09:21:52 +00:00
relax expectations on V8 toString conversions (broken by V8 8.4), refs #444
This commit is contained in:
parent
cb96e6e6cb
commit
403435d0c0
@ -15,7 +15,7 @@ try {
|
||||
}
|
||||
?>
|
||||
===EOF===
|
||||
--EXPECT--
|
||||
[object Closure]
|
||||
--EXPECTF--
|
||||
[object %s]
|
||||
Hello foobar, I'm Closure!
|
||||
===EOF===
|
||||
|
@ -24,7 +24,7 @@ try {
|
||||
}
|
||||
?>
|
||||
===EOF===
|
||||
--EXPECT--
|
||||
[object Closure]
|
||||
--EXPECTF--
|
||||
[object %s]
|
||||
Hello world
|
||||
===EOF===
|
||||
|
@ -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===
|
||||
|
@ -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===
|
||||
|
Loading…
Reference in New Issue
Block a user