From: Ilya M. <m_...@us...> - 2003-09-21 10:07:12
|
Update of /cvsroot/perl-xml/XML-LibXML-XPathContext/t In directory sc8-pr-cvs1:/tmp/cvs-serv29775/t Modified Files: 00-xpathcontext.t Log Message: Correct test case: lookupNs should return NS url Index: 00-xpathcontext.t =================================================================== RCS file: /cvsroot/perl-xml/XML-LibXML-XPathContext/t/00-xpathcontext.t,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- 00-xpathcontext.t 29 May 2003 14:28:28 -0000 1.9 +++ 00-xpathcontext.t 21 Sep 2003 10:07:08 -0000 1.10 @@ -38,7 +38,7 @@ my $xc = XML::LibXML::XPathContext->new($doc1); $xc->registerNs('xxx', 'http://example.com/foobar'); ok($xc->findnodes('/xxx:foo')->pop->nodeName eq 'foo'); -ok($xc->lookupNs('xxx') eq '/xxx:foo'); +ok($xc->lookupNs('xxx') eq 'http://example.com/foobar'); # test unregisterNs() $xc->unregisterNs('xxx'); |