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() { ...@@ -147,8 +147,9 @@ func (l *logger) flush() {
// 2 frame skip for flush() + public logger fn // 2 frame skip for flush() + public logger fn
decorationLen := estimateInfoLen(2) decorationLen := estimateInfoLen(2)
padding := 0 padding := 0
if decorationLen <= 25 { padLength := 30
padding = 25 - decorationLen if decorationLen <= padLength {
padding = padLength - decorationLen
} }
for _, r := range l.h.buf { for _, r := range l.h.buf {
l.t.Logf("%*s%s", padding, "", l.h.fmt.Format(r)) 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