test(config): use method call for applyDefaults in test
This commit is contained in:
parent
9d914c280e
commit
de2f2c94f0
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ func TestLoad(t *testing.T) {
|
|||
if err := toml.Unmarshal(defaultCfg, &defCfg); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
applyDefaults(&defCfg)
|
||||
defCfg.applyDefaults()
|
||||
|
||||
if diff := cmp.Diff(
|
||||
defCfg,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue