aboutsummaryrefslogtreecommitdiff
path: root/t/words.t
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-03 22:04:42 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-03 22:05:20 +1300
commite857250bf4ecc47875433018b35f1a71120b3862 (patch)
tree2cbe3a6197bdeaff144bf67085b3492310535b83 /t/words.t
parentCorrect some awkward documentation (diff)
downloadList-Breakdown-e857250bf4ecc47875433018b35f1a71120b3862.tar.gz (sig)
List-Breakdown-e857250bf4ecc47875433018b35f1a71120b3862.zip
Add some error testsv0.05
Ensure that bad inputs raise appropriate fatal errors.
Diffstat (limited to 't/words.t')
-rw-r--r--t/words.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/words.t b/t/words.t
index a917a37..a2ca767 100644
--- a/t/words.t
+++ b/t/words.t
@@ -8,10 +8,10 @@ use Test::More tests => 1;
use List::Filters 'filter';
-our $VERSION = 0.04;
+our $VERSION = 0.05;
-my @words = qw(foo bar baz quux wibble florb);
-my $filters = {
+my @words = qw(foo bar baz quux wibble florb);
+my $filters = {
all => sub { 1 },
has_b => sub { m/ b /msx },
has_w => sub { m/ w /msx },