diff options
Diffstat (limited to 'json_test.go')
-rw-r--r-- | json_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 |