diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-04-10 14:40:03 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-04-10 14:40:03 -0400 |
commit | 1004e6c739aaf2d66acd41e5a8a8fc3b6d4ba2c1 (patch) | |
tree | 4ae2044e88516e98ed3f8a9ff1e29b2a74018cb2 /t | |
parent | 61cbcb049fd1eb6a57ca2f51c78767a25d22820b (diff) | |
download | ikiwiki-1004e6c739aaf2d66acd41e5a8a8fc3b6d4ba2c1.tar ikiwiki-1004e6c739aaf2d66acd41e5a8a8fc3b6d4ba2c1.tar.gz |
fix testsuite
typedlink matchspec was removed
Diffstat (limited to 't')
-rwxr-xr-x | t/tag.t | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -3,7 +3,7 @@ package IkiWiki; use warnings; use strict; -use Test::More tests => 10; +use Test::More tests => 7; BEGIN { use_ok("IkiWiki"); } BEGIN { use_ok("IkiWiki::Plugin::tag"); } @@ -36,9 +36,4 @@ ok(!pagespec_match("two", "tagged(alpha)")); ok(pagespec_match("one", "link(tags/numbers)")); ok(pagespec_match("one", "link(alpha)")); -ok(pagespec_match("one", "typedlink(tag tags/numbers)")); -ok(!pagespec_match("one", "typedlink(tag tags/letters)")); -# invalid syntax -ok(pagespec_match("one", "typedlink(tag)")->isa("IkiWiki::ErrorReason")); - 1; |