Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[perl #107726] Test for Filter::Simple and ‘no’
use MyFilter; no MyFilter; does not work. A fix is forthcoming.
- Loading branch information
Father Chrysostomos
committed
Aug 26, 2016
1 parent
6516999
commit 7e9e80a
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
BEGIN { | ||
unshift @INC, 't/lib/'; | ||
} | ||
|
||
print "1..2\n"; | ||
|
||
use Filter::Simple::FilterTest qr/ok/ => "not ok", pass => "fail"; | ||
no Filter::Simple::FilterTest; | ||
|
||
sub pass { print "ok ", $_[0], "\n" } | ||
|
||
print "ok 1\n"; | ||
("pa"."ss")->(2); |