--- trunk/t/5_Node.t 2006/05/08 12:00:43 128 +++ trunk/t/5_Node.t 2006/05/08 12:01:00 129 @@ -3,7 +3,7 @@ use strict; use blib; -use Test::More tests => 115; +use Test::More tests => 118; use Test::Exception; use Data::Dumper; @@ -156,6 +156,13 @@ ok(! $node->admins, 'no admins'); ok(! $node->guests, 'no guests'); +# test search without results + +ok($cond = new Search::Estraier::Condition, 'new cond'); +ok($cond->set_phrase('this_is_phrase_which_does_not_exits'), 'cond set_phrase'); + +ok($nres = $node->search( $cond, 0 ), 'search'); + SKIP: { skip "no $test2_node in Hyper Estraier, skipping set_link", 5 unless (my $test2_label = $node2->label);