diff options
Diffstat (limited to 't/errors.t')
-rw-r--r-- | t/errors.t | 12 |
1 files changed, 7 insertions, 5 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' ); |