3 # This Koha test module is a stub!
4 # Add more tests here!!!
14 use Test::More tests => 3;
19 foreach my $string ("Leçon","mod\xc3\xa8les"){
20 my @results=C4::Search::_remove_stopwords($string,"kw");
21 $debug && warn "$string ",Dump(@results);
22 ok($results[0] eq $string,"$string is not modified");
24 foreach my $string ("Les chaussettes de l'archiduchesse"){
25 my @results=C4::Search::_remove_stopwords($string,"kw");
26 $debug && warn "$string ",Dump(@results);
27 ok($results[0] ne $string,"$results[0] from $string");