refactoring: TestBarAbort
Vladimir Bauer
3 years ago
1 changed file(s) with
2 addition(s)
and
2 deletion(s)
.
Raw diff
Collapse all
Expand all
+2
-2
progress_test.go
less
more
78
78
bars[i] = b
79
79
}
80
80
81
go p.Wait()
82
81
83
bars[0].Abort(false)
82
83
go p.Wait()
84
84
85
85
select {
86
86
case <-shutdown: