X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/f9ce7a571ddbe124bb93bcfd3388e2cd4d77ec06..746f6fdffbea6a9f60dafd1e4efc2d1049e9d113:/t/globlist_match.t 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"));