diff options
author | Simon McVittie <smcv@debian.org> | 2016-01-21 07:32:55 +0000 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2016-01-21 07:33:41 +0000 |
commit | 02a1aa4e49e7d459edd12621046bd35259036ae7 (patch) | |
tree | 9ae0c6059274fc2083a0f99cf1de3a6a2800cdfe /t/syslog.t | |
parent | b8dbb48fdce9ffc00d1f3f4267948ee2875d2970 (diff) | |
download | ikiwiki-02a1aa4e49e7d459edd12621046bd35259036ae7.tar ikiwiki-02a1aa4e49e7d459edd12621046bd35259036ae7.tar.gz |
Don't fail to syslog if the wiki name contains %s
This is a corner case spotted while fixing UTF-8 syslogging.
Diffstat (limited to 't/syslog.t')
-rwxr-xr-x | t/syslog.t | 2 |
1 files changed, 1 insertions, 1 deletions
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'); |