xref: /openbsd/gnu/usr.bin/perl/cpan/IO-Zlib/t/import.t (revision 5dea098c)
1use strict;
2use warnings;
3
4print "1..1\n";
5
6sub ok
7{
8    my ($no, $ok) = @_ ;
9    print "ok $no\n" if $ok ;
10    print "not ok $no\n" unless $ok ;
11}
12
13# The :gzip tags are tested in external.t.
14
15eval "use IO::Zlib qw(foo bar)";
16
17ok(1, $@ =~ /^IO::Zlib::import: 'foo bar' is illegal /);
18