Mercurial > hg > nginx-tests
changeset 165:fca70f483608
Tests: fix previous commit (print original message length).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 01 Aug 2011 21:50:01 +0400 |
parents | f602276b9bb9 |
children | c0ae29632905 |
files | lib/Test/Nginx.pm |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/Test/Nginx.pm Mon Aug 01 21:45:26 2011 +0400 +++ b/lib/Test/Nginx.pm Mon Aug 01 21:50:01 2011 +0400 @@ -316,8 +316,9 @@ $prefix .= ' ' if length($prefix) > 0; if (length($msg) > 4096) { - $msg = substr($msg, 0, 4096); - $msg .= "(...logged only 4096 of " . length($msg) . " bytes)"; + $msg = substr($msg, 0, 4096) + . "(...logged only 4096 of " . length($msg) + . " bytes)"; } $msg =~ s/^/# $prefix/gm;