diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-02-11 22:42:24 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-02-11 22:42:24 -0500 |
commit | 6f3641f16c0043f42212976ccba93b3cf7e4e36f (patch) | |
tree | 5e6a4b28ebe701fea817e3683e377cb4d6b44faf /t | |
parent | e091fab0e742c3e3f9029c86d47c858e286becf3 (diff) | |
download | ikiwiki-6f3641f16c0043f42212976ccba93b3cf7e4e36f.tar ikiwiki-6f3641f16c0043f42212976ccba93b3cf7e4e36f.tar.gz |
add some openid matching tests
Diffstat (limited to 't')
-rwxr-xr-x | t/pagespec_match.t | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/pagespec_match.t b/t/pagespec_match.t index 197ff818b..8b0be4e8a 100755 --- a/t/pagespec_match.t +++ b/t/pagespec_match.t @@ -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}=""; |