X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/687928ead25cb8f62fdfc58c2e126264e0fb149a..f32369f66924e0c008370c29462af57fd218267a:/IkiWiki/Plugin/testpagespec.pm?ds=inline diff --git a/IkiWiki/Plugin/testpagespec.pm b/IkiWiki/Plugin/testpagespec.pm index a0bb2ff31..f9ec90d87 100644 --- a/IkiWiki/Plugin/testpagespec.pm +++ b/IkiWiki/Plugin/testpagespec.pm @@ -14,7 +14,7 @@ sub preprocess (@) { #{{{ foreach my $param (qw{match pagespec}) { if (! exists $params{$param}) { - return "[[testpagespec missing $param parameter]]"; + return "[[testpagespec $param parameter is required]]"; } } @@ -25,9 +25,6 @@ sub preprocess (@) { #{{{ if ($ret) { return "match: $ret"; } - elsif (! defined $ret) { - return "match failed: $@"; - } else { return "no match: $ret"; }