Remove spurious fmt.Printf calls including one of a key (#15344)

And add a semgrep for fmt.Printf/Println.
This commit is contained in:
Christopher Swenson
2022-05-19 12:27:02 -07:00
committed by GitHub
parent cbdf16c5a1
commit 38b0fa6b53
7 changed files with 17 additions and 8 deletions

View File

@@ -320,7 +320,6 @@ func testParseEntropy(t *testing.T, oss bool) {
case err != test.outErr:
t.Fatalf("error mismatch: expected %#v got %#v", err, test.outErr)
case err == nil && config.Entropy != nil && *config.Entropy != test.outEntropy:
fmt.Printf("\n config.Entropy: %#v", config.Entropy)
t.Fatalf("entropy config mismatch: expected %#v got %#v", test.outEntropy, *config.Entropy)
}
}