diff options
Diffstat (limited to 't')
-rw-r--r-- | t/errors.t | 12 | ||||
-rw-r--r-- | t/words.t | 2 |
2 files changed, 8 insertions, 6 deletions
@@ -8,10 +8,12 @@ use Test::More tests => 4; use List::Breakdown 'breakdown'; -our $VERSION = 0.08; +our $VERSION = 0.09; my @t = 1 .. 3; -is( eval { breakdown { a => undef }, @t } || undef, undef, 'error_notref_undef' ); -is( eval { breakdown { a => 'a' }, @t } || undef, undef, 'error_notref_def' ); -is( eval { breakdown { a => [] }, @t } || undef, undef, 'error_badref_array' ); -is( eval { breakdown { a => \{} }, @t } || undef, undef, 'error_badref_double' ); +is( eval { breakdown { a => undef }, @t } || undef, + undef, 'error_notref_undef' ); +is( eval { breakdown { a => 'a' }, @t } || undef, undef, 'error_notref_def' ); +is( eval { breakdown { a => [] }, @t } || undef, undef, 'error_badref_array' ); +is( eval { breakdown { a => \{} }, @t } || undef, undef, + 'error_badref_double' ); @@ -8,7 +8,7 @@ use Test::More tests => 1; use List::Breakdown 'breakdown'; -our $VERSION = 0.08; +our $VERSION = 0.09; my @words = qw(foo bar baz quux wibble florb); my $filters = { |