From 311cb42a1a6c5c41a31c256ff39407b869c570ce Mon Sep 17 00:00:00 2001 From: Sam Sanders Date: Tue, 17 Jan 2012 13:55:04 +1300 Subject: [PATCH] Bug 5327 added unit tests for C4/Utils Signed-off-by: Chris Cormack --- t/Utils.t | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/t/Utils.t b/t/Utils.t index 01fb10b..8d39326 100755 --- a/t/Utils.t +++ b/t/Utils.t @@ -6,9 +6,11 @@ use strict; use warnings; -use Test::More tests => 1; +use Test::More tests => 3; BEGIN { use_ok('C4::Utils'); } +is(C4::Utils::maxwidth(), 0, "testing maxwidth = 0"); +is(C4::Utils::maxwidth((12,123,'adcse')), 5, "testing maxwidth = 5"); -- 1.7.5.4