aboutsummaryrefslogtreecommitdiff
path: root/t/errors.t
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-04 11:11:16 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-04 11:11:16 +1300
commite54f4af506787fc2c3fe8d9d56450efc42796065 (patch)
tree62e497bfa439900a93d89d38aa37c81670256c18 /t/errors.t
parentCorrect README (diff)
downloadList-Breakdown-e54f4af506787fc2c3fe8d9d56450efc42796065.tar.gz (sig)
List-Breakdown-e54f4af506787fc2c3fe8d9d56450efc42796065.zip
Perl::Tidy missed for errors.tv0.09
Diffstat (limited to 't/errors.t')
-rw-r--r--t/errors.t12
1 files changed, 7 insertions, 5 deletions
diff --git a/t/errors.t b/t/errors.t
index 1325bca..4fe8f9b 100644
--- a/t/errors.t
+++ b/t/errors.t
@@ -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' );