File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,12 +64,12 @@ func runServer(t *testing.T, s *Server) (
6464 }
6565
6666 closePipe = func () {
67- pw .Close ()
67+ _ = pw .Close ()
6868 }
6969
7070 cleanup = func () {
7171 cancel ()
72- pw .Close ()
72+ _ = pw .Close ()
7373 // Drain done channel.
7474 select {
7575 case <- done :
@@ -224,8 +224,8 @@ func TestRun_Notification(t *testing.T) {
224224
225225 // Clean up.
226226 cancel ()
227- pw .Close ()
228- sr .Close ()
227+ _ = pw .Close ()
228+ _ = sr .Close ()
229229}
230230
231231// TestRun_ContextCancel verifies that cancelling the context causes Run to
@@ -244,7 +244,7 @@ func TestRun_ContextCancel(t *testing.T) {
244244
245245 // Cancel the context and expect Run to return nil.
246246 cancel ()
247- pw .Close ()
247+ _ = pw .Close ()
248248
249249 select {
250250 case err := <- done :
@@ -272,7 +272,7 @@ func TestRun_EOFClean(t *testing.T) {
272272 }()
273273
274274 // Close the write side to signal EOF.
275- pw .Close ()
275+ _ = pw .Close ()
276276
277277 select {
278278 case err := <- done :
You can’t perform that action at this time.
0 commit comments