summaryrefslogtreecommitdiff
path: root/server_config_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'server_config_test.go')
-rw-r--r--server_config_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/server_config_test.go b/server_config_test.go
index 4f26d6ab..303eba90 100644
--- a/server_config_test.go
+++ b/server_config_test.go
@@ -71,6 +71,10 @@ func Test_ServerConfig_UnixSocketFactory(t *testing.T) {
cfg := &ServerConfig{Relay: "unix://unix.sock"}
f, err := cfg.makeFactory()
+ if err != nil {
+ t.Error(err)
+ }
+
defer func() {
err := f.Close()
if err != nil {