Codebase list golang-github-vbauerster-mpb / e9292c0
a more readable want Vladimir Bauer 9 years ago
1 changed file(s) with 4 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
1919 {
2020 termWidth: 3,
2121 barWidth: 60,
22 want: []byte{'[', ']'},
22 want: []byte("[]"),
2323 },
2424 {
2525 termWidth: 4,
2626 barWidth: 60,
27 want: []byte{'[', '>', ']'},
27 want: []byte("[>]"),
2828 },
2929 {
3030 termWidth: 5,
3131 barWidth: 60,
32 want: []byte{'[', '=', '>', ']'},
32 want: []byte("[=>]"),
3333 },
3434 {
3535 termWidth: 6,
3636 barWidth: 60,
37 want: []byte{'[', '=', '>', '-', ']'},
37 want: []byte("[=>-]"),
3838 },
3939 }
4040
5454 tip: '>',
5555 leftEnd: '[',
5656 rightEnd: ']',
57 etaAlpha: 0.25,
5857 total: total,
5958 current: current,
6059 trimLeftSpace: true,