summaryrefslogtreecommitdiff
path: root/sync_worker_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 /sync_worker_test.go
parent673da74925dee5c62064d3304289ae81cb499217 (diff)
parent7b0a6720c21056ed4b922eb5b1b8a91a44dc3638 (diff)
Merge pull request #447 from spiral/feature/goridge3
Feature/goridge3
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())
}