mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03: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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user