testcommon last column no longer has trailing spaces
This commit is contained in:
parent
5026576878
commit
6bb61b294b
@ -17,7 +17,7 @@ func LogColumnsStyle (test *testing.T, style string, columns ...any) {
|
|||||||
for index := range columns {
|
for index := range columns {
|
||||||
if index > 0 { formatString += " | " }
|
if index > 0 { formatString += " | " }
|
||||||
|
|
||||||
if index == len(columns) {
|
if index == len(columns) - 1 {
|
||||||
formatString += "%v"
|
formatString += "%v"
|
||||||
} else {
|
} else {
|
||||||
formatString += "%-80v"
|
formatString += "%-80v"
|
||||||
|
Loading…
Reference in New Issue
Block a user