diff options
Diffstat (limited to 'service/env')
-rw-r--r-- | service/env/config_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/service/env/config_test.go b/service/env/config_test.go index 3ae2afbc..50fbdaa5 100644 --- a/service/env/config_test.go +++ b/service/env/config_test.go @@ -27,3 +27,9 @@ func Test_Config_Hydrate_Empty(t *testing.T) { assert.NoError(t, c.Hydrate(cfg)) assert.Len(t, c.Values, 0) } + +func Test_Config_Defaults(t *testing.T) { + c := &Config{} + c.InitDefaults() + assert.Len(t, c.Values, 0) +} |