summaryrefslogtreecommitdiff
path: root/worker_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-01-28 18:31:12 +0300
committerWolfy-J <[email protected]>2018-01-28 18:31:12 +0300
commite7b1d96d1310dbdf413061bed49521ef9bf35374 (patch)
tree917e88f163abccfe14548a40f7a02b9a359d263a /worker_test.go
parent2756e6c92a89fa1fc09466889670811855ee0429 (diff)
Context
Diffstat (limited to 'worker_test.go')
-rw-r--r--worker_test.go4
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())
}