summaryrefslogtreecommitdiff
path: root/sync_worker_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'sync_worker_test.go')
-rwxr-xr-xsync_worker_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/sync_worker_test.go b/sync_worker_test.go
index 30b5bae8..0ef1e0cd 100755
--- a/sync_worker_test.go
+++ b/sync_worker_test.go
@@ -40,7 +40,7 @@ func Test_Echo(t *testing.T) {
assert.Nil(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())
}
@@ -148,7 +148,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.Context)
+ assert.Empty(t, res.Context)
assert.Equal(t, "hello", res.String())
}