summaryrefslogtreecommitdiff
path: root/socket_factory_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-10-01 19:05:30 +0300
committerWolfy-J <[email protected]>2018-10-01 19:05:30 +0300
commitec7b916f2162110430122b5bab0b718de9b4b5b0 (patch)
treeff9c79382013c95fbd8caa16add8809a4edf7d6f /socket_factory_test.go
parenta14a6cd6c2fa4fdcdb8b3343d6f3ef537c10b4e0 (diff)
golint
Diffstat (limited to 'socket_factory_test.go')
-rw-r--r--socket_factory_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/socket_factory_test.go b/socket_factory_test.go
index 00d0e93c..56d9313e 100644
--- a/socket_factory_test.go
+++ b/socket_factory_test.go
@@ -140,7 +140,7 @@ func Test_Tcp_Broken(t *testing.T) {
cmd := exec.Command("php", "tests/client.php", "broken", "tcp")
- w, err := NewSocketFactory(ls, time.Minute).SpawnWorker(cmd)
+ w, _ := NewSocketFactory(ls, time.Minute).SpawnWorker(cmd)
go func() {
err := w.Wait()
@@ -167,7 +167,7 @@ func Test_Tcp_Echo(t *testing.T) {
cmd := exec.Command("php", "tests/client.php", "echo", "tcp")
- w, err := NewSocketFactory(ls, time.Minute).SpawnWorker(cmd)
+ w, _ := NewSocketFactory(ls, time.Minute).SpawnWorker(cmd)
go func() {
assert.NoError(t, w.Wait())
}()
@@ -281,7 +281,7 @@ func Test_Unix_Broken(t *testing.T) {
cmd := exec.Command("php", "tests/client.php", "broken", "unix")
- w, err := NewSocketFactory(ls, time.Minute).SpawnWorker(cmd)
+ w, _ := NewSocketFactory(ls, time.Minute).SpawnWorker(cmd)
go func() {
err := w.Wait()
@@ -310,7 +310,7 @@ func Test_Unix_Echo(t *testing.T) {
cmd := exec.Command("php", "tests/client.php", "echo", "unix")
- w, err := NewSocketFactory(ls, time.Minute).SpawnWorker(cmd)
+ w, _ := NewSocketFactory(ls, time.Minute).SpawnWorker(cmd)
go func() {
assert.NoError(t, w.Wait())
}()