Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
web commit by http://willu.myopenid.com/: Fix CAPTCHA code so you can actually try...
[git.ikiwiki.info.git]
/
t
/
pagespec_match.t
diff --git
a/t/pagespec_match.t
b/t/pagespec_match.t
index ee255b4714036bd4cbf5ede7b0f878403c0116de..9d55737470fd122b42aeb2d64c53d378e7501e95 100755
(executable)
--- 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");