Use the right test with the right comment.

This commit is contained in:
Colin Kuskie 2009-11-08 21:09:00 -08:00
parent 579d3b1df7
commit 736166e2cc

View file

@ -71,10 +71,10 @@ ok(! $search->_isStopword('private.+'), '_isStopword: regex metacharacters
WebGUI::Test->tagsToRollback($tag);
WebGUI::Search::Index->create( $article );
my $searcher = WebGUI::Search->new($session);
my $assetIds = $searcher->search({ keywords => "", })->getAssetIds;
my $assetIds = $searcher->search({ keywords => "Chinese", })->getAssetIds;
cmp_deeply( $assetIds, [ $article->getId ], 'basic test for search works');
my $searcher = WebGUI::Search->new($session);
my $assetIds = $searcher->search({ keywords => "Chinese", })->getAssetIds;
my $assetIds = $searcher->search({ keywords => "", })->getAssetIds;
cmp_deeply( $assetIds, [ $article->getId ], 'ideograph search works');
}