Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Commit

Permalink
update custom_err_encoder test in the debug mode
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <[email protected]>
  • Loading branch information
rustatian committed Feb 9, 2022
1 parent e806b44 commit e636f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pool/static_pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func Test_StaticPool_Echo_CustomErrEncoder(t *testing.T) {

assert.Error(t, err)
assert.Nil(t, res)
assert.Equal(t, "foo", err.Error())
assert.Contains(t, err.Error(), "foo")
}

func Test_StaticPool_JobError(t *testing.T) {
Expand Down

0 comments on commit e636f37

Please sign in to comment.