Skip to content

Commit

Permalink
Switch to using require.TestingT interface in SenderTest struct (#2258)
Browse files Browse the repository at this point in the history
  • Loading branch information
marun authored Nov 3, 2023
1 parent 11f1b55 commit 437ade8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions snow/engine/common/test_sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ package common
import (
"context"
"errors"
"testing"

"github.com/stretchr/testify/require"

Expand All @@ -27,7 +26,7 @@ var (

// SenderTest is a test sender
type SenderTest struct {
T *testing.T
T require.TestingT

CantAccept,
CantSendGetStateSummaryFrontier, CantSendStateSummaryFrontier,
Expand Down

0 comments on commit 437ade8

Please sign in to comment.