summaryrefslogtreecommitdiffstats
path: root/t/020-random-word.t
diff options
context:
space:
mode:
Diffstat (limited to 't/020-random-word.t')
-rw-r--r--t/020-random-word.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/020-random-word.t b/t/020-random-word.t
index dd18c92..d5218f5 100644
--- a/t/020-random-word.t
+++ b/t/020-random-word.t
@@ -9,7 +9,7 @@ my $word_file = '';
$word_file = '/usr/dict/words' if (-f '/usr/dict/words');
$word_file = '/usr/share/dict/words' if (-f '/usr/share/dict/words');
-throws_ok(sub { random_word }, qr/Couldn't open word list/,
+throws_ok(sub { random_word }, qr/No words in word list/,
"testing calling a function before setting a word list");
SKIP: {