Skip to content

Commit

Permalink
Merge pull request #1 from manwar/add-test
Browse files Browse the repository at this point in the history
Added test for method roll().
  • Loading branch information
briandfoy committed May 14, 2018
2 parents c258153 + 84fb84f commit ea2b5ac
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 ea2b5ac

Please sign in to comment.