gofmt
This commit is contained in:
@@ -25,7 +25,11 @@ func TestAFindingIsSaidOffThePath(t *testing.T) {
|
||||
defer close(block)
|
||||
say := boundedFinding(func(string, string, string, bool) { <-block })
|
||||
done := make(chan struct{})
|
||||
go func() { say("incoming-full", "incoming", "w", false); say("incoming-full", "incoming", "w", false); close(done) }()
|
||||
go func() {
|
||||
say("incoming-full", "incoming", "w", false)
|
||||
say("incoming-full", "incoming", "w", false)
|
||||
close(done)
|
||||
}()
|
||||
select {
|
||||
case <-done:
|
||||
case <-time.After(5 * time.Second):
|
||||
|
||||
Reference in New Issue
Block a user