From 49449152d181d37f554a1b6e44836384d3c54b3d Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 27 Jun 2006 17:54:04 +0000 Subject: Bug 342749: Replace Bugzilla::Util's min and max with the List::Util equivalents Patch By Max Kanat-Alexander r=colin.ogilvie, r=vladd, a=justdave --- t/007util.t | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 't') diff --git a/t/007util.t b/t/007util.t index 3adbe0ab4..5f2c998d1 100644 --- a/t/007util.t +++ b/t/007util.t @@ -28,7 +28,7 @@ use lib 't'; use Support::Files; BEGIN { - use Test::More tests => 15; + use Test::More tests => 13; use_ok(Bugzilla); use_ok(Bugzilla::Util); } @@ -57,11 +57,6 @@ is(lsearch(\@list,'pear'),1,'lsearch 1'); is(lsearch(\@list,'<"\\%'),3,'lsearch 2'); is(lsearch(\@list,'kiwi'),-1,'lsearch 3 (missing item)'); -#max() and min(): -@list = (7,27,636,2); -is(max(@list),636,'max()'); -is(min(@list),2,'min()'); - #trim(): is(trim(" fg<*\$%>+=~~ "),'fg<*$%>+=~~','trim()'); -- cgit v1.2.3-24-g4f1b