(t *testing.T)
| 159 | } |
| 160 | |
| 161 | func TestGetColumnMaxWidth_Custom(t *testing.T) { |
| 162 | wrappedColumns = make(map[int]int) |
| 163 | wrappedColumns[0] = 30 |
| 164 | |
| 165 | width := getColumnMaxWidth(0) |
| 166 | if width != 30 { |
| 167 | t.Errorf("getColumnMaxWidth(0) = %d, want 30", width) |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | func TestGetColumnMaxWidth_Default(t *testing.T) { |
| 172 | wrappedColumns = make(map[int]int) |
nothing calls this directly
no test coverage detected