perl-XML-LibXML/perl-XML-LibXML-1.62-undef-test-fix.patch
2007-10-17 05:07:02 +00:00

15 lines
601 B
Diff

diff -up XML-LibXML-1.62/t/03doc.t.BAD XML-LibXML-1.62/t/03doc.t
--- XML-LibXML-1.62/t/03doc.t.BAD 2007-09-03 11:54:24.000000000 -0400
+++ XML-LibXML-1.62/t/03doc.t 2007-09-03 11:54:41.000000000 -0400
@@ -206,8 +206,8 @@ use XML::LibXML::Common qw(:libxml);
ok($pi);
ok($pi->nodeType, XML_PI_NODE);
ok($pi->nodeName, "foo");
- ok( $pi->textContent, undef);
- ok( $pi->getData, undef);
+ ok( $pi->textContent, "");
+ ok( $pi->getData, "");
$pi->setData(q(bar&));
ok( $pi->getData, q(bar&));
ok($pi->textContent, q(bar&));