changeset 921:bc9e519ab3bc

Tests: added missing character in regex in syslog.t.
author Andrey Zelenkov <zelenkov@nginx.com>
date Tue, 10 May 2016 14:56:47 +0300
parents 943a5952ee5e
children 93d900bac201
files syslog.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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