From 02a1aa4e49e7d459edd12621046bd35259036ae7 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 21 Jan 2016 07:32:55 +0000 Subject: Don't fail to syslog if the wiki name contains %s This is a corner case spotted while fixing UTF-8 syslogging. --- t/syslog.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/syslog.t') diff --git a/t/syslog.t b/t/syslog.t index d5c1bc56b..b9f366f19 100755 --- a/t/syslog.t +++ b/t/syslog.t @@ -11,7 +11,7 @@ $IkiWiki::config{syslog} = 1; $IkiWiki::config{wikiname} = 'ASCII'; is(debug('test'), '', 'plain ASCII syslog'); -$IkiWiki::config{wikiname} = 'not ⒶSCII'; +$IkiWiki::config{wikiname} = 'not ⒶSCII and has %s in it'; is(debug('𝗧ĕṡҭ'), '', 'UTF8 syslog'); my $orig = $IkiWiki::config{wikiname}; is(debug('test'), '', 'check for idempotency'); -- cgit v1.2.3