diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-05-25 14:12:49 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-05-25 14:12:49 -0400 |
commit | 71555b595167abf77c71c1b4b8c26669d0b0130e (patch) | |
tree | 5c75c8250a939f795481f6bebacd15b914e1d295 | |
parent | 35e8baef6eb07a27311b8bac04dcbfd5a7d5ad2e (diff) |
fix regression test
-rwxr-xr-x | t/pagespec_match.t | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |