config: fix tests

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2020-12-20 01:07:48 +03:00
parent 6b1ed63b48
commit aa6afdf440
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}