testcommon last column no longer has trailing spaces
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user