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:
Nicola Murino
2025-03-16 14:16:04 +01:00
parent 39ebfab693
commit d4ea6adcc3

View File

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