Misspell fixes
Vladimir Bauer
8 years ago
| 84 | 84 |
}
|
| 85 | 85 |
|
| 86 | 86 |
// BarReplaceOnComplete is indicator for delayed bar start, after the `runningBar` is complete.
|
| 87 | |
// To achive bar replacement effect, `runningBar` should has its `BarRemoveOnComplete` option set.
|
|
87 |
// To achieve bar replacement effect, `runningBar` should has its `BarRemoveOnComplete` option set.
|
| 88 | 88 |
func BarReplaceOnComplete(runningBar *Bar) BarOption {
|
| 89 | 89 |
return func(s *bState) {
|
| 90 | 90 |
s.runningBar = runningBar
|
| 13 | 13 |
var wg sync.WaitGroup
|
| 14 | 14 |
p := mpb.New(mpb.WithWaitGroup(&wg), mpb.WithDebugOutput(os.Stderr))
|
| 15 | 15 |
|
| 16 | |
wantPanic := "Some realy long panic panic panic panic panic panic panic, really it is very long"
|
|
16 |
wantPanic := "Some really long panic panic panic panic panic panic panic, really it is very long"
|
| 17 | 17 |
numBars := 3
|
| 18 | 18 |
wg.Add(numBars)
|
| 19 | 19 |
|