parent
61cbcb049f
commit
1004e6c739
7
t/tag.t
7
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;
|
||||
|
|
Loading…
Reference in New Issue