]> granicus.if.org Git - php/commitdiff
fix test to the changes made regarding __toString()
authorChristian Stocker <chregu@php.net>
Wed, 3 Dec 2003 22:18:49 +0000 (22:18 +0000)
committerChristian Stocker <chregu@php.net>
Wed, 3 Dec 2003 22:18:49 +0000 (22:18 +0000)
ext/xsl/tests/xslt011.phpt

index ead84e1d93118cda030606934a99a833af1d8731..4691df0a98f07977351ec2dd1eb845155247875e 100644 (file)
@@ -31,17 +31,19 @@ $dom = new domDocument();
       } 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