From 1004e6c739aaf2d66acd41e5a8a8fc3b6d4ba2c1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 10 Apr 2010 14:40:03 -0400 Subject: [PATCH] fix testsuite typedlink matchspec was removed --- t/tag.t | 7 +------ 1 file changed, 1 insertion(+), 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;