From 9da17f4fed07c0c60e1a5ea907885af94a3d91d7 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 22 Feb 2006 11:44:37 +0000 Subject: [PATCH] Fixed test file --- tests/classes/tostring_001.phpt | 54 +++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/tests/classes/tostring_001.phpt b/tests/classes/tostring_001.phpt index ecc64b0860..d5ec4d9c25 100755 --- a/tests/classes/tostring_001.phpt +++ b/tests/classes/tostring_001.phpt @@ -130,3 +130,57 @@ object(test3)#%d (0) { test3::__toString() string(53) "Method test3::__toString() must return a string value" ====DONE==== +--UEXPECTF-- +====test1==== +test1 Object +( +) +unicode(54) "Object of class test1 could not be converted to string" +unicode(0) "" +object(test1)#%d (0) { +} +====test2==== +test2 Object +( +) +test2::__toString() +Converted +object(test2)#%d (0) { +} +====test3==== +test2::__toString() +Converted +====test4==== +test2::__toString() +string:Converted +====test5==== +test2::__toString() +1Converted +1test2::__toString() +Converted +====test6==== +test2::__toString() +test2::__toString() +Converted +Converted +test2::__toString() +Converted +test2::__toString() +Converted +====test7==== +test2::__toString() +unicode(19) "Illegal offset type" +====test8==== +test2::__toString() +unicode(9) "Converted" +test2::__toString() +unicode(9) "Converted" +====test9==== +test2::__toString() +Converted +====test10==== +object(test3)#%d (0) { +} +test3::__toString() +unicode(53) "Method test3::__toString() must return a string value" +====DONE==== -- 2.50.1