Skip to content

Commit

Permalink
[perl #107726] Test for Filter::Simple and ‘no’
Browse files Browse the repository at this point in the history
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
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST
Expand Up @@ -3348,6 +3348,7 @@ dist/Filter-Simple/t/lib/Filter/Simple/ExportTest.pm Helper file for Filter::Si
dist/Filter-Simple/t/lib/Filter/Simple/FilterOnlyTest.pm Helper file for Filter::Simple tests
dist/Filter-Simple/t/lib/Filter/Simple/FilterTest.pm Helper file for Filter::Simple tests
dist/Filter-Simple/t/lib/Filter/Simple/ImportTest.pm Helper file for Filter::Simple tests
dist/Filter-Simple/t/no.t See if Filter::Simple works
dist/I18N-Collate/lib/I18N/Collate.pm Routines to do strxfrm-based collation
dist/I18N-Collate/t/I18N-Collate.t See if I18N::Collate works
dist/I18N-LangTags/ChangeLog I18N::LangTags
Expand Down
13 changes: 13 additions & 0 deletions dist/Filter-Simple/t/no.t
@@ -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);

0 comments on commit 7e9e80a

Please sign in to comment.