From 939797be0ec650a52b79e29b8bb813d439e9c6bd Mon Sep 17 00:00:00 2001 From: "dedal.qq" Date: Thu, 5 Aug 2021 14:40:26 +0300 Subject: [PATCH] fix tests --- json_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/json_test.go b/json_test.go index 574d34a..309205e 100644 --- a/json_test.go +++ b/json_test.go @@ -458,7 +458,7 @@ func TestMinMax(t *testing.T) { A int `json:"a,max:5"` }{}, nil, - `{"a":4}`, + `{"a":0}`, }, testData{ `{"a": null}`, @@ -474,7 +474,7 @@ func TestMinMax(t *testing.T) { A int `json:"a,max:5"` }{}, nil, - `{"a":4}`, + `{"a":0}`, }, testData{ `{}`,