mirror of
https://github.com/drakkan/sftpgo.git
synced 2026-03-14 14:25:52 +01:00
config: fix test case for slice values
this is a behaviour change in the lastest version of viper Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
355c4de96a
commit
b0c512d4a1
1 changed files with 1 additions and 1 deletions
|
|
@ -528,7 +528,7 @@ func TestOverrideSliceValues(t *testing.T) {
|
|||
|
||||
c = make(map[string]any)
|
||||
c["httpd"] = httpd.Conf{
|
||||
Bindings: []httpd.Binding{},
|
||||
Bindings: nil,
|
||||
}
|
||||
jsonConf, err = json.Marshal(c)
|
||||
assert.NoError(t, err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue