diff options
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()) } |