From 1872e018d1de12793e794fb45d9bbcea569706fe Mon Sep 17 00:00:00 2001 From: NeonXP Date: Wed, 4 Jan 2023 23:51:40 +0300 Subject: Added fill to factory --- json_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'json_test.go') diff --git a/json_test.go b/json_test.go index b058417..2b6621e 100644 --- a/json_test.go +++ b/json_test.go @@ -10,7 +10,7 @@ import ( func TestJSON_Unmarshal(t *testing.T) { j := &json.JSON{ - Factory: std.Factory, + Factory: &std.Factory{}, } type args struct { input string @@ -95,7 +95,7 @@ func TestJSON_Unmarshal(t *testing.T) { func TestJSON_Marshal(t *testing.T) { j := &json.JSON{ - Factory: std.Factory, + Factory: &std.Factory{}, } type args struct { n json.Node -- cgit v1.2.3