aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-05-25 14:12:49 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-05-25 14:12:49 -0400
commit71555b595167abf77c71c1b4b8c26669d0b0130e (patch)
tree5c75c8250a939f795481f6bebacd15b914e1d295 /t
parent35e8baef6eb07a27311b8bac04dcbfd5a7d5ad2e (diff)
downloadikiwiki-71555b595167abf77c71c1b4b8c26669d0b0130e.tar
ikiwiki-71555b595167abf77c71c1b4b8c26669d0b0130e.tar.gz
fix regression test
Diffstat (limited to 't')
-rwxr-xr-xt/pagespec_match.t2
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");