From 64dcc0ea2bf6609d490ac2d532644467f37f61a3 Mon Sep 17 00:00:00 2001 From: Xinyan Lu Date: Tue, 4 Jul 2023 19:02:28 +0800 Subject: [PATCH] feat: add detail type mismatch info doc --- core/mapping/unmarshaler_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/mapping/unmarshaler_test.go b/core/mapping/unmarshaler_test.go index 01bda33c92ef0..fae6f3ef62d72 100644 --- a/core/mapping/unmarshaler_test.go +++ b/core/mapping/unmarshaler_test.go @@ -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"