This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
expect -k to be overloadable on Win32
[perl5.git] / dist / Filter-Simple / t / code_no_comments.t
CommitLineData
828d6195
FC
1BEGIN {
2 unshift @INC, 't/lib/';
3}
4
5use Filter::Simple::CodeNoComments qr/ok/ => 'not ok';
6
7print "1..1\n";
8
9
10# Perl bug #92436 (the second bug in the ticket)
11
12sub method { $_[1] }
13my $obj = bless[];
14
15print $obj->method("ok 1\n");