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 f07b441 commit 8b4f98cCopy full SHA for 8b4f98c
sum_test.go
@@ -144,8 +144,8 @@ func TestSmallerLengthHashID(t *testing.T) {
144
for l := (dataLength - 1); l >= 0; l-- {
145
_, err = multihash.Sum(data, multihash.ID, l)
146
if err == nil {
147
- t.Fatal(fmt.Sprintf("identity hash of length %d smaller than data length %d didn't fail",
148
- l, dataLength))
+ t.Fatalf("identity hash of length %d smaller than data length %d didn't fail",
+ l, dataLength)
149
}
150
151
0 commit comments