We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b36953a commit 76d051eCopy full SHA for 76d051e
config/helpers_test.go
@@ -70,9 +70,8 @@ func TestConfigHelpers(t *testing.T) {
70
t.Run("should panic if env value not set", func(t *testing.T) {
71
defer unsetEnv(t, "CACHE_HASH_QUERY_IGNORE")()
72
73
- assert.Panics(t, func() {
74
- getEnvAsSlice("CACHE_HASH_QUERY_IGNORE")
75
- })
+ got := getEnvAsSlice("CACHE_HASH_QUERY_IGNORE")
+ assert.Equal(t, []string{}, got)
76
})
77
78
t.Run("getEnvAsInt", func(t *testing.T) {
0 commit comments