X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/7d7f85bbb5ec48a193973ef2dbe6d78a2f4f8ea8..674ed7e7060a9af4cfab0d8a29a227a702735e62:/t/pagespec_match.t?ds=sidebyside 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");