Skip to content

Commit 50924ff

Browse files
lll-lll-lll-lllAlexVulaj
authored andcommitted
fix:test: fix comment
1 parent c44c90d commit 50924ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

decoder_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2271,7 +2271,7 @@ func TestInvalidDefaultElementInSliceRaiseError(t *testing.T) {
22712271
fieldKey := "default-" + string(v)
22722272
errMsg := fmt.Sprintf("failed setting default: notInt is not compatible with field %s type", string(v))
22732273
if ferr, ok := e[fieldKey]; ok {
2274-
// check pointer type error
2274+
// check pointer type field
22752275
if ferr.Error() == pErrMsg {
22762276
continue
22772277
}

0 commit comments

Comments
 (0)