File tree Expand file tree Collapse file tree 8 files changed +11
-19
lines changed Expand file tree Collapse file tree 8 files changed +11
-19
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,10 @@ import (
7
7
"os"
8
8
"testing"
9
9
10
- "github.com/stretchr/testify/assert"
11
- "github.com/stretchr/testify/require"
12
-
13
10
"github.com/CosmWasm/wasmvm/v2/internal/api"
14
11
"github.com/CosmWasm/wasmvm/v2/types"
12
+ "github.com/stretchr/testify/assert"
13
+ "github.com/stretchr/testify/require"
15
14
)
16
15
17
16
const IBC_TEST_CONTRACT = "./testdata/ibc_reflect.wasm"
Original file line number Diff line number Diff line change 5
5
"os"
6
6
"testing"
7
7
8
- "github.com/stretchr/testify/require"
9
-
10
8
"github.com/CosmWasm/wasmvm/v2/types"
9
+ "github.com/stretchr/testify/require"
11
10
)
12
11
13
12
func TestValidateAddressFailure (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -6,10 +6,9 @@ import (
6
6
"sync"
7
7
"testing"
8
8
9
- "github.com/stretchr/testify/require"
10
-
11
9
"github.com/CosmWasm/wasmvm/v2/internal/api/testdb"
12
10
"github.com/CosmWasm/wasmvm/v2/types"
11
+ "github.com/stretchr/testify/require"
13
12
)
14
13
15
14
type queueData struct {
Original file line number Diff line number Diff line change @@ -13,9 +13,8 @@ import (
13
13
"strings"
14
14
"syscall"
15
15
16
- "golang.org/x/sys/unix"
17
-
18
16
"github.com/CosmWasm/wasmvm/v2/types"
17
+ "golang.org/x/sys/unix"
19
18
)
20
19
21
20
// Value types
Original file line number Diff line number Diff line change @@ -13,10 +13,9 @@ import (
13
13
"testing"
14
14
"time"
15
15
16
+ "github.com/CosmWasm/wasmvm/v2/types"
16
17
"github.com/stretchr/testify/assert"
17
18
"github.com/stretchr/testify/require"
18
-
19
- "github.com/CosmWasm/wasmvm/v2/types"
20
19
)
21
20
22
21
const (
Original file line number Diff line number Diff line change @@ -8,11 +8,10 @@ import (
8
8
"strings"
9
9
"testing"
10
10
11
- "github.com/stretchr/testify/assert"
12
- "github.com/stretchr/testify/require"
13
-
14
11
"github.com/CosmWasm/wasmvm/v2/internal/api/testdb"
15
12
"github.com/CosmWasm/wasmvm/v2/types"
13
+ "github.com/stretchr/testify/assert"
14
+ "github.com/stretchr/testify/require"
16
15
)
17
16
18
17
/** helper constructors **/
Original file line number Diff line number Diff line change @@ -9,11 +9,10 @@ import (
9
9
"os"
10
10
"testing"
11
11
12
- "github.com/stretchr/testify/assert"
13
- "github.com/stretchr/testify/require"
14
-
15
12
"github.com/CosmWasm/wasmvm/v2/internal/api"
16
13
"github.com/CosmWasm/wasmvm/v2/types"
14
+ "github.com/stretchr/testify/assert"
15
+ "github.com/stretchr/testify/require"
17
16
)
18
17
19
18
const (
Original file line number Diff line number Diff line change @@ -3,9 +3,8 @@ package cosmwasm
3
3
import (
4
4
"testing"
5
5
6
- "github.com/stretchr/testify/require"
7
-
8
6
"github.com/CosmWasm/wasmvm/v2/types"
7
+ "github.com/stretchr/testify/require"
9
8
)
10
9
11
10
func TestCreateChecksum (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments