X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/a1fda0b516cc4e85b7304838949df8fbe0044cf3..3fe434189b99daf3d8cc075186c4ed4ebdd43b8f:/t/inline.t diff --git a/t/inline.t b/t/inline.t index e07658d98..f2ffbbc2f 100755 --- a/t/inline.t +++ b/t/inline.t @@ -6,6 +6,8 @@ use IkiWiki; my $blob; +my $add_new_post = gettext("Add a new post titled:"); + ok(! system("rm -rf t/tmp")); ok(! system("mkdir t/tmp")); @@ -42,12 +44,12 @@ ok(! system($command)); ok(! system("$command --refresh")); $blob = readfile("t/tmp/out/protagonists.html"); -like($blob, qr{Add a new post}, 'rootpage=yes gives postform'); +like($blob, qr{\Q$add_new_post\E}, 'rootpage=yes gives postform'); like($blob, qr{