Skip to content

Commit

Permalink
feat: add detail type mismatch info doc
Browse files Browse the repository at this point in the history
  • Loading branch information
lxy1992 authored and kevwan committed Jul 8, 2023
1 parent a2cf1db commit 64dcc0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/mapping/unmarshaler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4982,6 +4982,7 @@ func TestUnmarshaler_Unmarshal(t *testing.T) {
})
}

// TestUnmarshalerProcessFieldPrimitiveWithJSONNumber test the number type check.
func TestUnmarshalerProcessFieldPrimitiveWithJSONNumber(t *testing.T) {
t.Run("wrong type", func(t *testing.T) {
expectValue := "1"
Expand Down

0 comments on commit 64dcc0e

Please sign in to comment.