cvs: php-src /ext/xsl/tests xslt011.phpt

From: Date: Wed, 03 Dec 2003 22:18:49 +0000
Subject: cvs: php-src /ext/xsl/tests xslt011.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-24879@lists.php.net to get a copy of this message
chregu Wed Dec 3 17:18:49 2003 EDT Modified files: /php-src/ext/xsl/tests xslt011.phpt Log: fix test to the changes made regarding __toString() Index: php-src/ext/xsl/tests/xslt011.phpt diff -u php-src/ext/xsl/tests/xslt011.phpt:1.2 php-src/ext/xsl/tests/xslt011.phpt:1.3 --- php-src/ext/xsl/tests/xslt011.phpt:1.2 Sat Nov 29 08:01:19 2003 +++ php-src/ext/xsl/tests/xslt011.phpt Wed Dec 3 17:18:49 2003 @@ -31,17 +31,19 @@ } else { $dom = new domdocument; $dom->loadXML("<root>this is from an external DomDocument</root>"); - 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 <?xml version="1.0"?> foobar foobar this is from an external DomDocument from the Input Document -not a DomNode object +Object

« previous php.cvs (#24879) next »