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-04-14 13:40:43 +02:00
parent 355c4de96a
commit b0c512d4a1
+1 -1
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)