diff options
Diffstat (limited to 'socket_factory_test.go')
-rw-r--r-- | 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 bb22e217..d0d643af 100644 --- a/socket_factory_test.go +++ b/socket_factory_test.go @@ -153,7 +153,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.Head) + assert.Nil(t, res.Context) assert.Equal(t, "hello", res.String()) } @@ -296,7 +296,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.Head) + assert.Nil(t, res.Context) assert.Equal(t, "hello", res.String()) } |