fix testsuite
authorJoey Hess <joey@gnu.kitenet.net>
Sat, 10 Apr 2010 18:40:03 +0000 (14:40 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Sat, 10 Apr 2010 18:40:03 +0000 (14:40 -0400)
typedlink matchspec was removed

t/tag.t

diff --git a/t/tag.t b/t/tag.t
index cf3bbdf01edbacdd691ba758afc25ada80b7969a..fe547d85bc51eaa306d85b90e28d79d4793f8a4e 100755 (executable)
--- 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;