summaryrefslogtreecommitdiff
path: root/socket_factory_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'socket_factory_test.go')
-rw-r--r--socket_factory_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket_factory_test.go b/socket_factory_test.go
index f6a2e234..0d721959 100644
--- a/socket_factory_test.go
+++ b/socket_factory_test.go
@@ -107,7 +107,7 @@ func Test_Tcp_Failboot(t *testing.T) {
defer func() {
err3 := ls.Close()
if err3 != nil {
- t.Errorf("error closing the listener: error %v", err)
+ t.Errorf("error closing the listener: error %v", err3)
}
}()
} else {