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

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to