diff _test/Test/DOM/Node.pm @ 24:7f00786f8210

Первая рабочая реазизация схемы и навигаторов
author Sergey
date Mon, 05 Oct 2009 00:48:49 +0400
parents 818c74b038ae
children c2e7f7c96bcd
line wrap: on
line diff
--- a/_test/Test/DOM/Node.pm	Wed Sep 30 17:43:52 2009 +0400
+++ b/_test/Test/DOM/Node.pm	Mon Oct 05 00:48:49 2009 +0400
@@ -86,7 +86,7 @@
 test SelectNodesByQuery => sub {
     my ($this) = @_;
     
-    my @result = $this->Root->selectNodes(sub { $_[0]->nodeName =~ /child/i } );
+    my @result = $this->Root->selectNodes(sub { $_->nodeName =~ /child/i } );
     failed
         "Wrong number of a selected nodes",
         "Expected: 2",