From 7e33c613fcef7cdfe44b93bb7f6da2206f30d7ca Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 4 Oct 2017 10:33:36 +1300 Subject: Rename module to List::Breakdown Not close to any other module on CPAN from what I can tell. Also bump version number. --- t/errors.t | 12 ++++++------ t/words.t | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 't') diff --git a/t/errors.t b/t/errors.t index 842c344..809b0b3 100644 --- a/t/errors.t +++ b/t/errors.t @@ -6,12 +6,12 @@ use utf8; use Test::More tests => 4; -use List::Filters 'filter'; +use List::Breakdown 'breakdown'; -our $VERSION = 0.05; +our $VERSION = 0.06; my @t = 1 .. 3; -is( eval { filter { a => undef }, @t } || undef, undef, 'error_notref_undef' ); -is( eval { filter { a => 'a' }, @t } || undef, undef, 'error_notref_def' ); -is( eval { filter { a => [] }, @t } || undef, undef, 'error_badref_array' ); -is( eval { filter { 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 a2ca767..609e2ff 100644 --- a/t/words.t +++ b/t/words.t @@ -6,9 +6,9 @@ use utf8; use Test::More tests => 1; -use List::Filters 'filter'; +use List::Breakdown 'breakdown'; -our $VERSION = 0.05; +our $VERSION = 0.06; my @words = qw(foo bar baz quux wibble florb); my $filters = { @@ -22,7 +22,7 @@ my $filters = { }, has_ba => qr/ba/msx, }; -my %filtered = filter $filters, @words; +my %filtered = breakdown $filters, @words; my %expected = ( all => [qw(foo bar baz quux wibble florb)], -- cgit v1.2.3