From 71555b595167abf77c71c1b4b8c26669d0b0130e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 25 May 2008 14:12:49 -0400 Subject: fix regression test --- t/pagespec_match.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3