]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/pagespec_match.t
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
[git.ikiwiki.info.git] / t / pagespec_match.t
index 197ff818b88db414d85446c81f25f44e6b72efd5..8b0be4e8a397eaee7b91c2c43df4d8127ac9e687 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 use warnings;
 use strict;
-use Test::More tests => 70;
+use Test::More tests => 72;
 
 BEGIN { use_ok("IkiWiki"); }
 
@@ -46,6 +46,8 @@ ok(! pagespec_match("somepage", "user(frodo)", user => "Sam"));
 ok(pagespec_match("somepage", "user(*o)", user => "Bilbo"));
 ok(pagespec_match("somepage", "user(*o)", user => "frodo"));
 ok(! pagespec_match("somepage", "user(*o)", user => "Sam"));
+ok(pagespec_match("somepage", "user(http://*.myopenid.com/)", user => "http://foo.myopenid.com/"));
+ok(pagespec_match("somepage", "user(*://*)", user => "http://foo.myopenid.com/"));
 
 # The link and backlink stuff needs this.
 $config{userdir}="";