From e54f4af506787fc2c3fe8d9d56450efc42796065 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 4 Oct 2017 11:11:16 +1300 Subject: Perl::Tidy missed for errors.t --- lib/List/Breakdown.pm | 4 ++-- t/errors.t | 12 +++++++----- t/words.t | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/lib/List/Breakdown.pm b/lib/List/Breakdown.pm index 62027a4..b1e57ce 100644 --- a/lib/List/Breakdown.pm +++ b/lib/List/Breakdown.pm @@ -16,7 +16,7 @@ use base qw(Exporter); our @EXPORT_OK = 'breakdown'; # Specify package version -our $VERSION = 0.08; +our $VERSION = 0.09; # Dispatch table of functions to handle different ref types for the spec # hashref's values @@ -89,7 +89,7 @@ List::Breakdown - Build list sublists matching conditions =head1 VERSION -Version 0.08 +Version 0.09 =head1 DESCRIPTION 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' ); diff --git a/t/words.t b/t/words.t index 9782318..326c9c9 100644 --- a/t/words.t +++ b/t/words.t @@ -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 = { -- cgit v1.2.3