Changeset 1996

Show
Ignore:
Timestamp:
10/03/06 02:57:13
Author:
miyagawa
Message:

more Test::Base fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • HTML-Selector-XPath/trunk/t/02_html.t

    r1993 r1996  
    66plan skip_all => "HTML::TreeBuilder::XPath is not installed." if $@; 
    77 
    8 filters { selector => 'chomp', expected => 'lines' }; 
     8filters { selector => 'chomp', expected => [ 'lines', 'array' ] }; 
    99plan tests => 1 * blocks; 
    1010 
     
    1616 
    1717    my @nodes = $tree->findnodes( HTML::Selector::XPath->new($block->selector)->to_xpath ); 
    18     is_deeply [ map $_->as_XML, @nodes ], [ $block->expected ]
     18    is_deeply [ map $_->as_XML, @nodes ], $block->expected
    1919} 
    2020