reorder fields
Vladimir Bauer
6 years ago
| 8 | 8 | func TestDraw(t *testing.T) { |
| 9 | 9 | // key is termWidth |
| 10 | 10 | testSuite := map[int][]struct { |
| 11 | name string | |
| 12 | style string | |
| 13 | total, current int64 | |
| 14 | barWidth int | |
| 15 | trim bool | |
| 16 | reverse bool | |
| 17 | refill int64 | |
| 18 | want string | |
| 11 | name string | |
| 12 | style string | |
| 13 | total int64 | |
| 14 | current int64 | |
| 15 | refill int64 | |
| 16 | barWidth int | |
| 17 | trim bool | |
| 18 | reverse bool | |
| 19 | want string | |
| 19 | 20 | }{ |
| 20 | 21 | 0: { |
| 21 | 22 | { |