summaryrefslogtreecommitdiffstats
path: root/t/023-is-word-nocache.t
diff options
context:
space:
mode:
Diffstat (limited to 't/023-is-word-nocache.t')
-rw-r--r--t/023-is-word-nocache.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/023-is-word-nocache.t b/t/023-is-word-nocache.t
index b812d07..84fa972 100644
--- a/t/023-is-word-nocache.t
+++ b/t/023-is-word-nocache.t
@@ -1,7 +1,7 @@
#!perl -T
use strict;
use warnings;
-use Test::More tests => 20;
+use Test::More tests => 21;
use Test::Exception;
use Games::Word::Wordlist;
@@ -20,4 +20,5 @@ SKIP: {
ok($result,
"checking to see if a random word from the word list is a word");
}
+ ok(!$wl->is_word("notaword"), "testing is_word with a non-word");
}