summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/cpan/IO-Zlib/t/import.t
blob: 336d80a943b0370e844563507fd0e323d3955483 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
print "1..1\n";

sub ok
{
    my ($no, $ok) = @_ ;
    print "ok $no\n" if $ok ;
    print "not ok $no\n" unless $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 /);