Skip to content

Commit

Permalink
Added test for method roll().
Browse files Browse the repository at this point in the history
  • Loading branch information
manwar committed May 12, 2018
1 parent c258153 commit 84fb84f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions t/roll.t
Expand Up @@ -2,7 +2,7 @@
use strict;
use warnings;

use Test::More tests => 9;
use Test::More tests => 10;

use File::Spec::Functions;
use Test::Output;
Expand Down Expand Up @@ -46,5 +46,9 @@ stderr_like
"Fails for missing file"
;

stderr_like
{ eval{ $class->$method($file) } }
qr/does not exist/,
"File $file does not exists"
;
}

0 comments on commit 84fb84f

Please sign in to comment.