Source

perl-App-Countdown / App-Countdown / t / unit-calc-delay.t

Diff from to

File App-Countdown/t/unit-calc-delay.t

 use strict;
 use warnings;
 
-use Test::More tests => 2;
+use Test::More tests => 3;
 
 use App::Countdown;
 
 
     # TEST
     is ($obj->_calc_delay('60'), 60, "_calc_delay(60) == 60");
+
+    # TEST
+    is ($obj->_calc_delay('2m'), 120, "_calc_delay(2m) == 120 (2 minutes)");
 }