Fix imports

This commit is contained in:
Łukasz Magiera 2021-11-26 18:40:27 +01:00
parent f6de16e95a
commit abec7dd3bc
3 changed files with 8 additions and 8 deletions

View File

@ -2,7 +2,6 @@ package dagstore
import ( import (
"context" "context"
"github.com/filecoin-project/go-state-types/abi"
"io/ioutil" "io/ioutil"
"net/url" "net/url"
"strings" "strings"
@ -13,6 +12,7 @@ import (
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"github.com/filecoin-project/dagstore/mount" "github.com/filecoin-project/dagstore/mount"
"github.com/filecoin-project/go-state-types/abi"
mock_dagstore "github.com/filecoin-project/lotus/markets/dagstore/mocks" mock_dagstore "github.com/filecoin-project/lotus/markets/dagstore/mocks"
) )

View File

@ -2,16 +2,16 @@ package dagstore
import ( import (
"context" "context"
"github.com/filecoin-project/go-fil-markets/retrievalmarket"
"golang.org/x/xerrors"
"io" "io"
"testing" "testing"
"github.com/filecoin-project/dagstore"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"golang.org/x/xerrors"
"github.com/filecoin-project/dagstore"
"github.com/filecoin-project/go-state-types/abi" "github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/go-fil-markets/retrievalmarket"
"github.com/filecoin-project/go-fil-markets/retrievalmarket/impl/testnodes" "github.com/filecoin-project/go-fil-markets/retrievalmarket/impl/testnodes"
tut "github.com/filecoin-project/go-fil-markets/shared_testutil" tut "github.com/filecoin-project/go-fil-markets/shared_testutil"
"github.com/filecoin-project/go-fil-markets/storagemarket" "github.com/filecoin-project/go-fil-markets/storagemarket"

View File

@ -3,22 +3,22 @@ package dagstore
import ( import (
"bytes" "bytes"
"context" "context"
"github.com/filecoin-project/go-state-types/abi"
"io" "io"
"os" "os"
"testing" "testing"
"time" "time"
"github.com/ipfs/go-cid"
"github.com/stretchr/testify/require"
"golang.org/x/xerrors" "golang.org/x/xerrors"
"github.com/filecoin-project/lotus/node/config" "github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/dagstore" "github.com/filecoin-project/dagstore"
"github.com/filecoin-project/dagstore/mount" "github.com/filecoin-project/dagstore/mount"
"github.com/filecoin-project/dagstore/shard" "github.com/filecoin-project/dagstore/shard"
"github.com/ipfs/go-cid" "github.com/filecoin-project/lotus/node/config"
"github.com/stretchr/testify/require"
) )
// TestWrapperAcquireRecovery verifies that if acquire shard returns a "not found" // TestWrapperAcquireRecovery verifies that if acquire shard returns a "not found"