diff --git a/config/config_test.go b/config/config_test.go index 85e0a78fbd..ddc014bc6f 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -915,7 +915,7 @@ func TestElideSecrets(t *testing.T) { yamlConfig := string(config) matches := secretRe.FindAllStringIndex(yamlConfig, -1) - require.Equal(t, 13, len(matches), "wrong number of secret matches found") + require.Equal(t, 14, len(matches), "wrong number of secret matches found") require.NotContains(t, yamlConfig, "mysecret", "yaml marshal reveals authentication credentials.") }