From 22e785be22dda216b88fb4e724221f17d048b935 Mon Sep 17 00:00:00 2001 From: Kamil Molendys <1657091+ilkamo@users.noreply.github.com> Date: Sat, 1 Feb 2025 17:44:17 +0100 Subject: [PATCH] chore: use stretchr/testify --- go.mod | 3 +-- solana/client_test.go | 2 +- solana/commitment_status_test.go | 2 +- solana/monitor_test.go | 2 +- solana/options_test.go | 2 +- solana/transaction_test.go | 2 +- solana/wallet_test.go | 2 +- 7 files changed, 7 insertions(+), 8 deletions(-) diff --git a/go.mod b/go.mod index 38c22e2..433dfe4 100644 --- a/go.mod +++ b/go.mod @@ -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 ( @@ -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 diff --git a/solana/client_test.go b/solana/client_test.go index 3d8ea8b..56f37b3 100644 --- a/solana/client_test.go +++ b/solana/client_test.go @@ -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" ) diff --git a/solana/commitment_status_test.go b/solana/commitment_status_test.go index 0b38475..ee4d863 100644 --- a/solana/commitment_status_test.go +++ b/solana/commitment_status_test.go @@ -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) { diff --git a/solana/monitor_test.go b/solana/monitor_test.go index 75f59a5..be70720 100644 --- a/solana/monitor_test.go +++ b/solana/monitor_test.go @@ -5,7 +5,7 @@ import ( "errors" "testing" - "github.com/test-go/testify/require" + "github.com/stretchr/testify/require" "github.com/ilkamo/jupiter-go/solana" ) diff --git a/solana/options_test.go b/solana/options_test.go index dec528d..a359e21 100644 --- a/solana/options_test.go +++ b/solana/options_test.go @@ -3,7 +3,7 @@ package solana import ( "testing" - "github.com/test-go/testify/require" + "github.com/stretchr/testify/require" ) func TestWithMaxRetries(t *testing.T) { diff --git a/solana/transaction_test.go b/solana/transaction_test.go index 3854045..4adefbd 100644 --- a/solana/transaction_test.go +++ b/solana/transaction_test.go @@ -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" ) diff --git a/solana/wallet_test.go b/solana/wallet_test.go index 663c4c3..1a5cc57 100644 --- a/solana/wallet_test.go +++ b/solana/wallet_test.go @@ -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" )