X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/6bb7f948563fd5305aa95fc71bd2cb7f5c85bb25..415c8e0cb53daec6fff7e2a8f3346efd0958008d:/t/pagespec_match.t?ds=inline diff --git a/t/pagespec_match.t b/t/pagespec_match.t index ee255b471..9d5573747 100755 --- a/t/pagespec_match.t +++ b/t/pagespec_match.t @@ -71,7 +71,7 @@ ok(! pagespec_match("foo", "no_such_function(foo)"), "foo"); my $ret=pagespec_match("foo", "(invalid"); ok(! $ret, "syntax error"); -ok($ret eq "syntax error", "error message"); +ok($ret =~ /syntax error/, "error message"); # old style globlists ok(pagespec_match("foo", "foo bar"), "simple list");