]> Cypherpunks repositories - gostls13.git/commitdiff
os/exec: fix nit found by vet
authorMikio Hara <mikioh.mikioh@gmail.com>
Tue, 16 Aug 2016 00:38:26 +0000 (09:38 +0900)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 16 Aug 2016 00:44:45 +0000 (00:44 +0000)
Change-Id: I8085ed43d63215237a4871cc1e44257132a7f5de
Reviewed-on: https://go-review.googlesource.com/27130
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/os/exec/exec_test.go

index 4cc984772155b168535d0e0422decc0558ccfd07..8d44401d0e78867a6f01c9a7f00957245ccc4c3b 100644 (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