refactor(benchmark_test): migrate from github.com/ipfs/go-cid to code.sonr.org/go/cid
Some checks failed
Close Stale Issues / stale (push) Has been cancelled
Close Generated PRs / stale (push) Has been cancelled
Go Checks / go-check (push) Has been cancelled
Go Test / go-test (push) Has been cancelled
Releaser / releaser (push) Has been cancelled
Tag Push Checker / releaser (push) Has been cancelled
Some checks failed
Close Stale Issues / stale (push) Has been cancelled
Close Generated PRs / stale (push) Has been cancelled
Go Checks / go-check (push) Has been cancelled
Go Test / go-test (push) Has been cancelled
Releaser / releaser (push) Has been cancelled
Tag Push Checker / releaser (push) Has been cancelled
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
|||||||
"math/rand"
|
"math/rand"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ipfs/go-cid"
|
"code.sonr.org/go/cid"
|
||||||
"github.com/multiformats/go-multihash"
|
"github.com/multiformats/go-multihash"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ func assertEqual(t *testing.T, a, b Cid) {
|
|||||||
|
|
||||||
func TestPrefixSum(t *testing.T) {
|
func TestPrefixSum(t *testing.T) {
|
||||||
// Test creating CIDs both manually and with Prefix.
|
// Test creating CIDs both manually and with Prefix.
|
||||||
// Tests: https://github.com/ipfs/go-cid/issues/83
|
// Tests: https://code.sonr.org/go/cid/issues/83
|
||||||
for _, hashfun := range []uint64{
|
for _, hashfun := range []uint64{
|
||||||
mh.IDENTITY, mh.SHA3, mh.SHA2_256,
|
mh.IDENTITY, mh.SHA3, mh.SHA2_256,
|
||||||
} {
|
} {
|
||||||
|
|||||||
Reference in New Issue
Block a user