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
commit b0c512d4a1
No known key found for this signature in database
GPG key ID: 935D2952DEC4EECF

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)