diff --git a/weed/util/config_test.go b/weed/util/config_test.go index 659814a4a..b14ec2fa9 100644 --- a/weed/util/config_test.go +++ b/weed/util/config_test.go @@ -20,5 +20,5 @@ func TestAllKeysWithEnv(t *testing.T) { sub := v.Sub("foo") assert.Equal(t, "13", v.GetString("id")) - assert.Equal(t, "baz", sub.GetString("bar")) + assert.Equal(t, nil, sub) }