diff options
Diffstat (limited to 'worker_test.go')
-rw-r--r-- | worker_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/worker_test.go b/worker_test.go index af9ce663..de11226a 100644 --- a/worker_test.go +++ b/worker_test.go @@ -37,7 +37,7 @@ func Test_Echo(t *testing.T) { assert.Nil(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()) } @@ -79,7 +79,7 @@ func Test_Echo_Slow(t *testing.T) { assert.Nil(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()) } |