# HG changeset patch # User Andrey Zelenkov # Date 1462881407 -10800 # Node ID bc9e519ab3bca3e54ee68b0ede23ff99ed83d2a3 # Parent 943a5952ee5e5bb84f82fae90fd6b12693e694ef Tests: added missing character in regex in syslog.t. diff --git a/syslog.t b/syslog.t --- a/syslog.t +++ b/syslog.t @@ -196,7 +196,7 @@ is(syslog_lines('/error', '[error]'), 1, is(syslog_lines('/low', '[error]'), 2, 'low'); is(syslog_lines('/dup', '[error]'), 2, 'dup'); -is(syslog_lines('/high', '[error'), 1, 'high'); +is(syslog_lines('/high', '[error]'), 1, 'high'); # check for the presence of the syslog messages in the global and http contexts