From: Christian Stocker Date: Wed, 3 Dec 2003 22:18:49 +0000 (+0000) Subject: fix test to the changes made regarding __toString() X-Git-Tag: php-5.0.0b3RC1~370 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e969b7897e4f2b1f74d7df75b53641bb5fd315f3;p=php fix test to the changes made regarding __toString() --- diff --git a/ext/xsl/tests/xslt011.phpt b/ext/xsl/tests/xslt011.phpt index ead84e1d93..4691df0a98 100644 --- a/ext/xsl/tests/xslt011.phpt +++ b/ext/xsl/tests/xslt011.phpt @@ -31,17 +31,19 @@ $dom = new domDocument(); } else { $dom = new domdocument; $dom->loadXML("this is from an external DomDocument"); - return $dom->documentElement ; + return $dom->documentElement; } } function nonDomNode() { return new foo(); } ---EXPECT-- +--EXPECTF-- Test 11: php:function Support + +Notice: Object of class foo could not be converted to string in %s on line 15 foobar foobar this is from an external DomDocument from the Input Document -not a DomNode object +Object