Commit 385834e0 authored by Joshua Gutow's avatar Joshua Gutow

testlog: Don't excessivly pad on long file names

parent b41133e5
...@@ -146,7 +146,7 @@ func (l *logger) flush() { ...@@ -146,7 +146,7 @@ func (l *logger) flush() {
l.t.Helper() l.t.Helper()
// 2 frame skip for flush() + public logger fn // 2 frame skip for flush() + public logger fn
decorationLen := estimateInfoLen(2) decorationLen := estimateInfoLen(2)
padding := 20 padding := 0
if decorationLen <= 25 { if decorationLen <= 25 {
padding = 25 - decorationLen padding = 25 - decorationLen
} }
......
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