Skip to content

Commit

Permalink
Remove name from require imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jtraglia committed Apr 5, 2024
1 parent c44a9ea commit e85ef76
Show file tree
Hide file tree
Showing 71 changed files with 71 additions and 71 deletions.
2 changes: 1 addition & 1 deletion api/v1/attesterduty_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestAttesterDutyJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/beaconblockheader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestBeaconBlockHeaderJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/beaconcommittee_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestBeaconCommitteeJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/beaconcommitteesubscription_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestBeaconCommitteeSubscriptionJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/bellatrix/blindedbeaconblock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/attestantio/go-eth2-client/api/v1/bellatrix"
"github.com/goccy/go-yaml"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestBlindedBeaconBlockJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/bellatrix/blindedbeaconblockbody_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/attestantio/go-eth2-client/api/v1/bellatrix"
"github.com/goccy/go-yaml"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestBlindedBeaconBlockBodyJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/bellatrix/signedblindedbeaconblock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/attestantio/go-eth2-client/api/v1/bellatrix"
"github.com/goccy/go-yaml"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestSignedBlindedBeaconBlockJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/blobsidecarevent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestBlobSidecarEventJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/blockevent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestBlockEventJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/capella/blindedbeaconblock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/attestantio/go-eth2-client/api/v1/capella"
"github.com/goccy/go-yaml"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestBlindedBeaconBlockJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/capella/blindedbeaconblockbody_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/attestantio/go-eth2-client/api/v1/capella"
"github.com/goccy/go-yaml"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestBlindedBeaconBlockBodyJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/capella/signedblindedbeaconblock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/attestantio/go-eth2-client/api/v1/capella"
"github.com/goccy/go-yaml"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestSignedBlindedBeaconBlockJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/chainreorgevent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestChainReorgEventJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/deneb/blindedbeaconblock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/attestantio/go-eth2-client/api/v1/deneb"
"github.com/goccy/go-yaml"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestBlindedBeaconBlockJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/deneb/blindedbeaconblockbody_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/attestantio/go-eth2-client/api/v1/deneb"
"github.com/goccy/go-yaml"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestBlindedBeaconBlockBodyJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/deneb/blockcontents_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/attestantio/go-eth2-client/api/v1/deneb"
"github.com/goccy/go-yaml"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestBlockContentsJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/deneb/signedblindedbeaconblock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/attestantio/go-eth2-client/api/v1/deneb"
"github.com/goccy/go-yaml"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestSignedBlindedBeaconBlockJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/deneb/signedblockcontents_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/attestantio/go-eth2-client/api/v1/deneb"
"github.com/goccy/go-yaml"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestSignedBlockContentsJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/depositcontract_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestDepositContractJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/event_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestEvent(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/finality_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestFinalityJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/finalizedcheckpointevent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestFinalizedCheckpointEventJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestGenesisJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/headevent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestHeadEventJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/payloadattributesevent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

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

"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestNodePeerJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/proposalpreparation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestProposalPreparationJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/proposerduty_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestProposerDutyJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/signedvalidatorregistration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ 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/require"
)

func TestSignedValidatorRegistrationJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/synccommittee_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestSyncCommitteeJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/synccommitteeduty_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestSyncCommitteeDutyJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/synccommitteesubscription_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestSyncCommitteeSubscriptionJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/syncstate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestSyncStateJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestValidatorJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/validatorbalance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

api "github.com/attestantio/go-eth2-client/api/v1"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestValidatorBalanceJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/validatorregistration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ 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/require"
)

func TestValidatorRegistrationJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion spec/altair/beaconblock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/attestantio/go-eth2-client/spec/altair"
"github.com/goccy/go-yaml"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestBeaconBlockJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion spec/altair/beaconblockbody_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/attestantio/go-eth2-client/spec/altair"
"github.com/goccy/go-yaml"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestBeaconBlockBodyJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion spec/altair/consensusspec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/goccy/go-yaml"
"github.com/golang/snappy"
clone "github.com/huandu/go-clone/generic"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

// TestConsensusSpec tests the types against the Ethereum consensus spec tests.
Expand Down
2 changes: 1 addition & 1 deletion spec/altair/contributionandproof_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/attestantio/go-eth2-client/spec/altair"
"github.com/goccy/go-yaml"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestContributionAndProofJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion spec/altair/signedbeaconblock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/attestantio/go-eth2-client/spec/altair"
"github.com/goccy/go-yaml"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestSignedBeaconBlockJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion spec/altair/signedcontributionandproof_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/attestantio/go-eth2-client/spec/altair"
"github.com/goccy/go-yaml"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestSignedContributionAndProofJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion spec/altair/synccommittee_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/attestantio/go-eth2-client/spec/altair"
"github.com/goccy/go-yaml"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestSyncCommitteeJSON(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion spec/altair/synccommitteecontribution_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/attestantio/go-eth2-client/spec/altair"
"github.com/goccy/go-yaml"
"github.com/stretchr/testify/assert"
require "github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
)

func TestSyncCommitteeContributionJSON(t *testing.T) {
Expand Down
Loading

0 comments on commit e85ef76

Please sign in to comment.