Skip to content

Commit

Permalink
chore: use stretchr/testify
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkamo committed Feb 1, 2025
1 parent 38e6814 commit 22e785b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/gagliardetto/solana-go v1.12.0
github.com/oapi-codegen/runtime v1.1.1
github.com/shopspring/decimal v1.3.1
github.com/test-go/testify v1.1.4
github.com/stretchr/testify v1.8.4
)

require (
Expand All @@ -34,7 +34,6 @@ require (
github.com/mr-tron/base58 v1.2.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/streamingfast/logging v0.0.0-20230608130331-f22c91403091 // indirect
github.com/stretchr/testify v1.8.4 // indirect
go.mongodb.org/mongo-driver v1.12.2 // indirect
go.uber.org/atomic v1.7.0 // indirect
go.uber.org/multierr v1.6.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion solana/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/gagliardetto/solana-go"
"github.com/gagliardetto/solana-go/rpc"
"github.com/test-go/testify/require"
"github.com/stretchr/testify/require"

jupSolana "github.com/ilkamo/jupiter-go/solana"
)
Expand Down
2 changes: 1 addition & 1 deletion solana/commitment_status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/gagliardetto/solana-go/rpc"
"github.com/test-go/testify/require"
"github.com/stretchr/testify/require"
)

func Test_mapToCommitmentType(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion solana/monitor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"errors"
"testing"

"github.com/test-go/testify/require"
"github.com/stretchr/testify/require"

"github.com/ilkamo/jupiter-go/solana"
)
Expand Down
2 changes: 1 addition & 1 deletion solana/options_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package solana
import (
"testing"

"github.com/test-go/testify/require"
"github.com/stretchr/testify/require"
)

func TestWithMaxRetries(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion solana/transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/gagliardetto/solana-go"
"github.com/test-go/testify/require"
"github.com/stretchr/testify/require"

jupSolana "github.com/ilkamo/jupiter-go/solana"
)
Expand Down
2 changes: 1 addition & 1 deletion solana/wallet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package solana_test
import (
"testing"

"github.com/test-go/testify/require"
"github.com/stretchr/testify/require"

jupSolana "github.com/ilkamo/jupiter-go/solana"
)
Expand Down

0 comments on commit 22e785b

Please sign in to comment.