diff options
Diffstat (limited to 't/globlist_match.t')
-rwxr-xr-x | t/globlist_match.t | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/globlist_match.t b/t/globlist_match.t index 3d196e09c..b60d83a2a 100755 --- a/t/globlist_match.t +++ b/t/globlist_match.t @@ -1,9 +1,11 @@ #!/usr/bin/perl use warnings; use strict; -use Test::More tests => 11; +use Test::More tests => 13; BEGIN { use_ok("IkiWiki"); } +ok(IkiWiki::globlist_match("foo", "foo bar"), "simple list"); +ok(IkiWiki::globlist_match("bar", "foo bar"), "simple list 2"); ok(IkiWiki::globlist_match("foo", "*")); ok(IkiWiki::globlist_match("foo", "f?? !foz")); ok(! IkiWiki::globlist_match("foo", "f?? !foo")); |