2 unshift @INC, 't/lib/';
5 use Filter::Simple::FilterOnlyTest qr/not ok/ => "ok",
6 "bad" => "ok", fail => "die";
9 sub fail { print "ok ", $_[0], "\n" }
10 sub ok { print "ok ", $_[0], "\n" }
18 print "not " unless "whatnot okapi" eq "whatokapi";
37 no Filter::Simple::FilterOnlyTest; # THE FUN STOPS HERE
39 print "not " unless "not ok" =~ /^not /;
42 print "not " unless "bad" =~ /bad/;