diff options
author | Valery Piashchynski <[email protected]> | 2020-12-14 13:54:44 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-12-14 13:54:44 +0300 |
commit | f6063d06d3a381036abd672dfbb799d777455fb0 (patch) | |
tree | 2370c6e2263fd286d8fe412de951304df69f9806 /sync_worker_test.go | |
parent | 00b42663891713f142a6cc67bcccdc31353daeb2 (diff) |
fix tests issues
Diffstat (limited to 'sync_worker_test.go')
-rwxr-xr-x | sync_worker_test.go | 4 |
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()) } |