summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-04-10 14:40:03 -0400
committerJoey Hess <joey@gnu.kitenet.net>2010-04-10 14:40:03 -0400
commit1004e6c739aaf2d66acd41e5a8a8fc3b6d4ba2c1 (patch)
tree4ae2044e88516e98ed3f8a9ff1e29b2a74018cb2
parent61cbcb049fd1eb6a57ca2f51c78767a25d22820b (diff)
fix testsuite
typedlink matchspec was removed
-rwxr-xr-xt/tag.t7
1 files changed, 1 insertions, 6 deletions
diff --git a/t/tag.t b/t/tag.t
index cf3bbdf01..fe547d85b 100755
--- a/t/tag.t
+++ b/t/tag.t
@@ -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;