summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-06-27 19:54:04 +0200
committermkanat%bugzilla.org <>2006-06-27 19:54:04 +0200
commit49449152d181d37f554a1b6e44836384d3c54b3d (patch)
tree6e410467bb8af5723f6e8594ee4839b87fa36189 /t
parentcb1a77094a983e1e884b21e6b4086fb0dbc3ea7b (diff)
downloadbugzilla-49449152d181d37f554a1b6e44836384d3c54b3d.tar.gz
bugzilla-49449152d181d37f554a1b6e44836384d3c54b3d.tar.xz
Bug 342749: Replace Bugzilla::Util's min and max with the List::Util equivalents
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=colin.ogilvie, r=vladd, a=justdave
Diffstat (limited to 't')
-rw-r--r--t/007util.t7
1 files changed, 1 insertions, 6 deletions
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()');