From 271477d8c26794abd8310e2abb89b746204660af Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Thu, 22 Apr 2010 11:02:17 -0700 Subject: Bug 560009: Use firstidx from List::MoreUtils instead of lsearch r=timello, a=mkanat --- t/007util.t | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 't') diff --git a/t/007util.t b/t/007util.t index af36e94ac..742c2b2d2 100644 --- a/t/007util.t +++ b/t/007util.t @@ -26,7 +26,7 @@ use lib 't'; use Support::Files; -use Test::More tests => 16; +use Test::More tests => 13; BEGIN { use_ok(Bugzilla); @@ -50,12 +50,6 @@ is(html_quote(""),"<lala&@>",'html_quote'); #url_quote(): is(url_quote("gaa\"'[]{\\"),"%3Clala%26%3Egaa%22%27%5B%5D%7B%5C",'url_quote'); -#lsearch(): -my @list = ('apple','pear','plum','<"\\%'); -is(lsearch(\@list,'pear'),1,'lsearch 1'); -is(lsearch(\@list,'<"\\%'),3,'lsearch 2'); -is(lsearch(\@list,'kiwi'),-1,'lsearch 3 (missing item)'); - #trim(): is(trim(" fg<*\$%>+=~~ "),'fg<*$%>+=~~','trim()'); -- cgit v1.2.3-24-g4f1b