We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beac0e8 commit c9c37fdCopy full SHA for c9c37fd
github/github_test.go
@@ -392,8 +392,7 @@ func TestDo_sanitizeURL(t *testing.T) {
392
if err == nil {
393
t.Fatal("Expected error to be returned.")
394
}
395
- if !strings.Contains(err.Error(), "client_secret=REDACTED") ||
396
- strings.Contains(err.Error(), "client_secret=secret") {
+ if strings.Contains(err.Error(), "client_secret=secret") {
397
t.Errorf("Do error contains secret, should be redacted:\n%q", err)
398
399
0 commit comments