summaryrefslogtreecommitdiff
path: root/internal/configuration/helpers_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/configuration/helpers_test.go')
-rw-r--r--internal/configuration/helpers_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/internal/configuration/helpers_test.go b/internal/configuration/helpers_test.go
index b244d4dcf..cc8cd1180 100644
--- a/internal/configuration/helpers_test.go
+++ b/internal/configuration/helpers_test.go
@@ -7,12 +7,12 @@ import (
)
func TestIsSecretKey(t *testing.T) {
- assert.True(t, isSecretKey("my_fake_token"))
- assert.False(t, isSecretKey("my_fake_tokenz"))
- assert.True(t, isSecretKey("my_.fake.secret"))
- assert.True(t, isSecretKey("my.password"))
- assert.False(t, isSecretKey("my.passwords"))
- assert.False(t, isSecretKey("my.passwords"))
+ assert.True(t, IsSecretKey("my_fake_token"))
+ assert.False(t, IsSecretKey("my_fake_tokenz"))
+ assert.True(t, IsSecretKey("my_.fake.secret"))
+ assert.True(t, IsSecretKey("my.password"))
+ assert.False(t, IsSecretKey("my.passwords"))
+ assert.False(t, IsSecretKey("my.passwords"))
}
func TestGetEnvConfigMaps(t *testing.T) {