summaryrefslogtreecommitdiff
path: root/cpan/IO-Zlib/t/import.t
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/IO-Zlib/t/import.t')
-rw-r--r--cpan/IO-Zlib/t/import.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpan/IO-Zlib/t/import.t b/cpan/IO-Zlib/t/import.t
index 336d80a943..ddb591f795 100644
--- a/cpan/IO-Zlib/t/import.t
+++ b/cpan/IO-Zlib/t/import.t
@@ -1,3 +1,6 @@
+use strict;
+use warnings;
+
print "1..1\n";
sub ok
@@ -10,4 +13,5 @@ sub ok
# The :gzip tags are tested in external.t.
eval "use IO::Zlib qw(foo bar)";
+
ok(1, $@ =~ /^IO::Zlib::import: 'foo bar' is illegal /);