mirror of
https://github.com/golang/go
synced 2024-09-29 01:24:34 -06:00
os/exec: fix nit found by vet
Change-Id: I8085ed43d63215237a4871cc1e44257132a7f5de Reviewed-on: https://go-review.googlesource.com/27130 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
b98d8cd5ce
commit
7c31043cca
@ -938,7 +938,7 @@ func TestContextCancel(t *testing.T) {
|
||||
}
|
||||
|
||||
if err := w.Close(); err != nil {
|
||||
t.Error("error closing write end of pipe: %v", err)
|
||||
t.Errorf("error closing write end of pipe: %v", err)
|
||||
}
|
||||
<-readDone
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user