aboutsummaryrefslogtreecommitdiff
path: root/json_test.go
diff options
context:
space:
mode:
authorNeonXP <i@neonxp.dev>2023-01-04 23:51:40 +0300
committerNeonXP <i@neonxp.dev>2023-01-04 23:51:40 +0300
commit1872e018d1de12793e794fb45d9bbcea569706fe (patch)
tree98229c5398ef42d696d82ee42a14aea2e4c7c3dd /json_test.go
parent67d30e9444c7bdae62906477cafb5f992c5b70e1 (diff)
Added fill to factoryv0.1.2
Diffstat (limited to 'json_test.go')
-rw-r--r--json_test.go4
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