1. Shlomi Fish
  2. perl-App-Countdown

Commits

Shlomi Fish  committed e09bd4d

Another test.

  • Participants
  • Parent commits 90e7da4
  • Branches default

Comments (0)

Files changed (1)

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

View file
  • Ignore whitespace
 use strict;
 use warnings;
 
-use Test::More tests => 5;
+use Test::More tests => 6;
 
 use App::Countdown;
 
 
     # TEST
     is ($obj->_calc_delay('1h'), 60*60, "_calc_delay(1h) == 60*60 (1 hour)");
+
+    # TEST
+    is ($obj->_calc_delay('5h'), 5*60*60, "_calc_delay(5h) == 5*60*60 (5 hours)");
 }