Skip to content

Commit

Permalink
fix:test: fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lll-lll-lll-lll authored and AlexVulaj committed May 4, 2024
1 parent c44c90d commit 50924ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decoder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2271,7 +2271,7 @@ func TestInvalidDefaultElementInSliceRaiseError(t *testing.T) {
fieldKey := "default-" + string(v)
errMsg := fmt.Sprintf("failed setting default: notInt is not compatible with field %s type", string(v))
if ferr, ok := e[fieldKey]; ok {
// check pointer type error
// check pointer type field
if ferr.Error() == pErrMsg {
continue
}
Expand Down

0 comments on commit 50924ff

Please sign in to comment.