summaryrefslogtreecommitdiff
path: root/src/pkg/net/net_windows_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/net/net_windows_test.go')
-rw-r--r--src/pkg/net/net_windows_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/net/net_windows_test.go b/src/pkg/net/net_windows_test.go
index 8b1c9cdc5..2f57745e3 100644
--- a/src/pkg/net/net_windows_test.go
+++ b/src/pkg/net/net_windows_test.go
@@ -84,7 +84,7 @@ func TestAcceptIgnoreSomeErrors(t *testing.T) {
}
err = cmd.Start()
if err != nil {
- t.Fatalf("cmd.Start failed: %v\n%s\n", err)
+ t.Fatalf("cmd.Start failed: %v\n", err)
}
outReader := bufio.NewReader(stdout)
for {
@@ -107,7 +107,7 @@ func TestAcceptIgnoreSomeErrors(t *testing.T) {
result := make(chan error)
go func() {
time.Sleep(alittle)
- err = send(ln.Addr().String(), "abc")
+ err := send(ln.Addr().String(), "abc")
if err != nil {
result <- err
}