From cc3460b4a345ce19c958bdb638a169c1d5a71636 Mon Sep 17 00:00:00 2001 From: Justin Traglia Date: Mon, 6 May 2024 10:02:02 -0500 Subject: [PATCH] Revert changes to test imports --- api/v1/event_test.go | 2 +- api/v1/finality_test.go | 2 +- api/v1/finalizedcheckpointevent_test.go | 2 +- api/v1/genesis_test.go | 2 +- api/v1/headevent_test.go | 2 +- api/v1/proposalpreparation_test.go | 2 +- api/v1/proposerduty_test.go | 2 +- api/v1/signedvalidatorregistration_test.go | 2 +- api/v1/synccommittee_test.go | 2 +- api/v1/synccommitteeduty_test.go | 2 +- api/v1/synccommitteesubscription_test.go | 2 +- api/v1/syncstate_test.go | 2 +- api/v1/validator_test.go | 2 +- api/v1/validatorbalance_test.go | 2 +- api/v1/validatorregistration_test.go | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/api/v1/event_test.go b/api/v1/event_test.go index ca553f17..4035cedc 100644 --- a/api/v1/event_test.go +++ b/api/v1/event_test.go @@ -18,8 +18,8 @@ import ( "testing" api "github.com/attestantio/go-eth2-client/api/v1" - "github.com/stretchr/testify/assert" require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/assert" ) func TestEvent(t *testing.T) { diff --git a/api/v1/finality_test.go b/api/v1/finality_test.go index 0dfb9033..aa4216e1 100644 --- a/api/v1/finality_test.go +++ b/api/v1/finality_test.go @@ -18,8 +18,8 @@ import ( "testing" api "github.com/attestantio/go-eth2-client/api/v1" - "github.com/stretchr/testify/assert" require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/assert" ) func TestFinalityJSON(t *testing.T) { diff --git a/api/v1/finalizedcheckpointevent_test.go b/api/v1/finalizedcheckpointevent_test.go index 6bc5f06c..98a7d018 100644 --- a/api/v1/finalizedcheckpointevent_test.go +++ b/api/v1/finalizedcheckpointevent_test.go @@ -18,8 +18,8 @@ import ( "testing" api "github.com/attestantio/go-eth2-client/api/v1" - "github.com/stretchr/testify/assert" require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/assert" ) func TestFinalizedCheckpointEventJSON(t *testing.T) { diff --git a/api/v1/genesis_test.go b/api/v1/genesis_test.go index c2224de8..bba3722a 100644 --- a/api/v1/genesis_test.go +++ b/api/v1/genesis_test.go @@ -18,8 +18,8 @@ import ( "testing" api "github.com/attestantio/go-eth2-client/api/v1" - "github.com/stretchr/testify/assert" require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/assert" ) func TestGenesisJSON(t *testing.T) { diff --git a/api/v1/headevent_test.go b/api/v1/headevent_test.go index de7bb609..208d4f01 100644 --- a/api/v1/headevent_test.go +++ b/api/v1/headevent_test.go @@ -18,8 +18,8 @@ import ( "testing" api "github.com/attestantio/go-eth2-client/api/v1" - "github.com/stretchr/testify/assert" require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/assert" ) func TestHeadEventJSON(t *testing.T) { diff --git a/api/v1/proposalpreparation_test.go b/api/v1/proposalpreparation_test.go index f6a09fd1..f51ef0df 100644 --- a/api/v1/proposalpreparation_test.go +++ b/api/v1/proposalpreparation_test.go @@ -18,8 +18,8 @@ import ( "testing" api "github.com/attestantio/go-eth2-client/api/v1" - "github.com/stretchr/testify/assert" require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/assert" ) func TestProposalPreparationJSON(t *testing.T) { diff --git a/api/v1/proposerduty_test.go b/api/v1/proposerduty_test.go index 5d7bf77c..c3322786 100644 --- a/api/v1/proposerduty_test.go +++ b/api/v1/proposerduty_test.go @@ -18,8 +18,8 @@ import ( "testing" api "github.com/attestantio/go-eth2-client/api/v1" - "github.com/stretchr/testify/assert" require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/assert" ) func TestProposerDutyJSON(t *testing.T) { diff --git a/api/v1/signedvalidatorregistration_test.go b/api/v1/signedvalidatorregistration_test.go index 1272f5ec..0209c6ea 100644 --- a/api/v1/signedvalidatorregistration_test.go +++ b/api/v1/signedvalidatorregistration_test.go @@ -20,8 +20,8 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/goccy/go-yaml" - "github.com/stretchr/testify/assert" require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/assert" ) func TestSignedValidatorRegistrationJSON(t *testing.T) { diff --git a/api/v1/synccommittee_test.go b/api/v1/synccommittee_test.go index 0d63faf5..34fe7bb0 100644 --- a/api/v1/synccommittee_test.go +++ b/api/v1/synccommittee_test.go @@ -18,8 +18,8 @@ import ( "testing" api "github.com/attestantio/go-eth2-client/api/v1" - "github.com/stretchr/testify/assert" require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/assert" ) func TestSyncCommitteeJSON(t *testing.T) { diff --git a/api/v1/synccommitteeduty_test.go b/api/v1/synccommitteeduty_test.go index cc6d27ac..88b5b76f 100644 --- a/api/v1/synccommitteeduty_test.go +++ b/api/v1/synccommitteeduty_test.go @@ -18,8 +18,8 @@ import ( "testing" api "github.com/attestantio/go-eth2-client/api/v1" - "github.com/stretchr/testify/assert" require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/assert" ) func TestSyncCommitteeDutyJSON(t *testing.T) { diff --git a/api/v1/synccommitteesubscription_test.go b/api/v1/synccommitteesubscription_test.go index 57ad64e3..6742e64e 100644 --- a/api/v1/synccommitteesubscription_test.go +++ b/api/v1/synccommitteesubscription_test.go @@ -18,8 +18,8 @@ import ( "testing" api "github.com/attestantio/go-eth2-client/api/v1" - "github.com/stretchr/testify/assert" require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/assert" ) func TestSyncCommitteeSubscriptionJSON(t *testing.T) { diff --git a/api/v1/syncstate_test.go b/api/v1/syncstate_test.go index 7e1a41e6..98276dfb 100644 --- a/api/v1/syncstate_test.go +++ b/api/v1/syncstate_test.go @@ -18,8 +18,8 @@ import ( "testing" api "github.com/attestantio/go-eth2-client/api/v1" - "github.com/stretchr/testify/assert" require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/assert" ) func TestSyncStateJSON(t *testing.T) { diff --git a/api/v1/validator_test.go b/api/v1/validator_test.go index ec889d77..49aba706 100644 --- a/api/v1/validator_test.go +++ b/api/v1/validator_test.go @@ -18,8 +18,8 @@ import ( "testing" api "github.com/attestantio/go-eth2-client/api/v1" - "github.com/stretchr/testify/assert" require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/assert" ) func TestValidatorJSON(t *testing.T) { diff --git a/api/v1/validatorbalance_test.go b/api/v1/validatorbalance_test.go index 423c5a12..48bb3e59 100644 --- a/api/v1/validatorbalance_test.go +++ b/api/v1/validatorbalance_test.go @@ -18,8 +18,8 @@ import ( "testing" api "github.com/attestantio/go-eth2-client/api/v1" - "github.com/stretchr/testify/assert" require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/assert" ) func TestValidatorBalanceJSON(t *testing.T) { diff --git a/api/v1/validatorregistration_test.go b/api/v1/validatorregistration_test.go index ea837fdd..807573c3 100644 --- a/api/v1/validatorregistration_test.go +++ b/api/v1/validatorregistration_test.go @@ -20,8 +20,8 @@ import ( api "github.com/attestantio/go-eth2-client/api/v1" "github.com/goccy/go-yaml" - "github.com/stretchr/testify/assert" require "github.com/stretchr/testify/require" + "github.com/stretchr/testify/assert" ) func TestValidatorRegistrationJSON(t *testing.T) {