Commit d1cefb61 authored by Joshua Gutow's avatar Joshua Gutow

testlog: Increase file name padding to 30 chars

parent 385834e0
......@@ -147,8 +147,9 @@ func (l *logger) flush() {
// 2 frame skip for flush() + public logger fn
decorationLen := estimateInfoLen(2)
padding := 0
if decorationLen <= 25 {
padding = 25 - decorationLen
padLength := 30
if decorationLen <= padLength {
padding = padLength - decorationLen
}
for _, r := range l.h.buf {
l.t.Logf("%*s%s", padding, "", l.h.fmt.Format(r))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment