]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/globlist_match.t
remove this, pagestats is too slow and it was mostly for testing
[git.ikiwiki.info.git] / t / globlist_match.t
index 3d196e09c8ecaec0b3c9603a22877cd9e129ac37..b60d83a2a09d579732f6e8f93f9108ffa25fe94c 100755 (executable)
@@ -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"));