Codebase list golang-github-vbauerster-mpb / 8f73f06
Reuse got Vladimir Bauer 9 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
9898
9999 got := buf.String()
100100 want := fmt.Sprintf("[%s]", strings.Repeat("=", customWidth-2))
101 if !strings.Contains(buf.String(), want) {
101 if !strings.Contains(got, want) {
102102 t.Errorf("Expected format: %s, got %s\n", want, got)
103103 }
104104 }