diff --git a/config/reflect_test.go b/config/reflect_test.go index dd77533d..be43850a 100644 --- a/config/reflect_test.go +++ b/config/reflect_test.go @@ -18,7 +18,7 @@ type SubConfig struct { func TestReflect(t *testing.T) { cfg1 := &Config{Value: "cfg1", Config: &Config{Value: "cfg1_1"}, SubConfig: &SubConfig{Value: "cfg1"}} - cfg2, err := config.Clone(cfg1) + cfg2, err := config.Zero(cfg1) if err != nil { t.Fatal(err) }