From: Joey Hess Date: Sun, 25 May 2008 18:12:49 +0000 (-0400) Subject: fix regression test X-Git-Tag: 2.47~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=71555b595167abf77c71c1b4b8c26669d0b0130e;p=ikiwiki.git fix regression test --- 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");