parent
6e91074b50
commit
e3c16a32dd
33 changed files with 332 additions and 263 deletions
|
@ -11,10 +11,10 @@ import (
|
|||
)
|
||||
|
||||
func randID(t *testing.T) *oid.ID {
|
||||
id := oid.NewID()
|
||||
var id oid.ID
|
||||
id.SetSHA256(randSHA256Checksum(t))
|
||||
|
||||
return id
|
||||
return &id
|
||||
}
|
||||
|
||||
func randSHA256Checksum(t *testing.T) (cs [sha256.Size]byte) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue