blake2s: fix vet format string issue
Fix the following format string issue reported by go vet: blake2s_test.go:188: Fatalf format %v reads arg #3, but call has only 2 args Change-Id: I689eadb7d7310ae93acd8a8419755f2724ff41dd Reviewed-on: https://go-review.googlesource.com/75978 Reviewed-by: Filippo Valsorda <hi@filippo.io>
This commit is contained in:
committed by
Filippo Valsorda
parent
bd6f299fb3
commit
3680b74bae
@@ -185,7 +185,7 @@ func testHashes2X(t *testing.T) {
|
||||
if n, err := h.Read(result[:]); err != nil {
|
||||
t.Fatalf("#unknown length: error from Read: %v", err)
|
||||
} else if n != len(result) {
|
||||
t.Fatalf("#unknown length: Read returned %d bytes, want %d: %v", n, len(result))
|
||||
t.Fatalf("#unknown length: Read returned %d bytes, want %d", n, len(result))
|
||||
}
|
||||
|
||||
const expected = "2a9a6977d915a2c4dd07dbcafe1918bf1682e56d9c8e567ecd19bfd7cd93528833c764d12b34a5e2a219c9fd463dab45e972c5574d73f45de5b2e23af72530d8"
|
||||
|
||||
Reference in New Issue
Block a user