Fix config tests in main branch
The merge of 8761 did not catch that the secrets were off by one
because it was not rebased on top of 8693.
@@ -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.")
}
