1
0
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:
Mikio Hara 2016-08-16 09:38:26 +09:00 committed by Brad Fitzpatrick
parent b98d8cd5ce
commit 7c31043cca

View File

@ -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