diff options
author | Valery Piashchynski <[email protected]> | 2020-12-14 13:54:44 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-12-14 13:54:44 +0300 |
commit | f6063d06d3a381036abd672dfbb799d777455fb0 (patch) | |
tree | 2370c6e2263fd286d8fe412de951304df69f9806 /socket_factory_test.go | |
parent | 00b42663891713f142a6cc67bcccdc31353daeb2 (diff) |
fix tests issues
Diffstat (limited to 'socket_factory_test.go')
-rwxr-xr-x | socket_factory_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/socket_factory_test.go b/socket_factory_test.go index ab6927bd..bbe8cc31 100755 --- a/socket_factory_test.go +++ b/socket_factory_test.go @@ -254,7 +254,7 @@ func Test_Tcp_Echo(t *testing.T) { assert.NoError(t, err) assert.NotNil(t, res) assert.NotNil(t, res.Body) - assert.Nil(t, res.Context) + assert.Empty(t, res.Context) assert.Equal(t, "hello", res.String()) } @@ -442,7 +442,7 @@ func Test_Unix_Echo(t *testing.T) { assert.NoError(t, err) assert.NotNil(t, res) assert.NotNil(t, res.Body) - assert.Nil(t, res.Context) + assert.Empty(t, res.Context) assert.Equal(t, "hello", res.String()) } |