Skip to content
Browse files

test: simplify.

  • Loading branch information...
1 parent 84d4799 commit 302ce3b43849b246d8615d029c4f7df3e2bbf226 @dchest committed
Showing with 1 addition and 9 deletions.
  1. +1 −9 blake256_test.go
View
10 blake256_test.go
@@ -141,15 +141,7 @@ func TestSalt(t *testing.T) {
}
var bench = New()
-var buf = makeBuf()
-
-func makeBuf() []byte {
- b := make([]byte, 8<<10)
- for i := range b {
- b[i] = byte(i)
- }
- return b
-}
+var buf = make([]byte, 8<<10)
func BenchmarkHash1K(b *testing.B) {
b.SetBytes(1024)

0 comments on commit 302ce3b

Please sign in to comment.
Something went wrong with that request. Please try again.