summaryrefslogtreecommitdiff
path: root/socket_factory_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-15 13:31:40 +0300
committerGitHub <[email protected]>2020-12-15 13:31:40 +0300
commitb44d272312389691920e42e5295395bef0d3b769 (patch)
tree1c826999423e59db5b7dab1184725e22468ecfbd /socket_factory_test.go
parent673da74925dee5c62064d3304289ae81cb499217 (diff)
parent7b0a6720c21056ed4b922eb5b1b8a91a44dc3638 (diff)
Merge pull request #447 from spiral/feature/goridge3
Feature/goridge3
Diffstat (limited to 'socket_factory_test.go')
-rwxr-xr-xsocket_factory_test.go4
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())
}