Переглянути джерело

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

Stefan Siegl 4 роки тому
батько
коміт
403435d0c0

+ 2 - 2
tests/closures_basic.phpt

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

+ 2 - 2
tests/closures_dynamic.phpt

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

+ 2 - 2
tests/datetime_pass.phpt

@@ -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===

+ 1 - 1
tests/php_exceptions_006.phpt

@@ -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===