- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestPipeReadClose (0.12 sec)
-
src/io/pipe_test.go
var err error if tt.closeWithError { err = cl.CloseWithError(tt.err) } else { err = cl.Close() } if err != nil { t.Errorf("delayClose: %v", err) } ch <- 0 } func TestPipeReadClose(t *testing.T) { for _, tt := range pipeTests { c := make(chan int, 1) r, w := Pipe() if tt.async { go delayClose(t, w, c, tt) } else { delayClose(t, w, c, tt) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9K bytes - Viewed (0)