summaryrefslogtreecommitdiff
path: root/ext/xsl
diff options
context:
space:
mode:
authorChristian Stocker <chregu@php.net>2003-12-03 22:18:49 +0000
committerChristian Stocker <chregu@php.net>2003-12-03 22:18:49 +0000
commite969b7897e4f2b1f74d7df75b53641bb5fd315f3 (patch)
tree28138d551c3b6379e1ba89a17fb26613ac02dd38 /ext/xsl
parent54996089f324e8e1dff0e1c2a2fd725d97b3b331 (diff)
downloadphp-git-e969b7897e4f2b1f74d7df75b53641bb5fd315f3.tar.gz
fix test to the changes made regarding __toString()
Diffstat (limited to 'ext/xsl')
-rw-r--r--ext/xsl/tests/xslt011.phpt8
1 files changed, 5 insertions, 3 deletions
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("<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