Skip to content

Commit

Permalink
Revert test to use require instead of assert
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Sep 16, 2022
1 parent 12d86ac commit fcc3cf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/genesis/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package genesis
import (
"testing"

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

func Test_interfaceToTelemetryEndpoint(t *testing.T) {
Expand Down Expand Up @@ -58,7 +58,7 @@ func Test_interfaceToTelemetryEndpoint(t *testing.T) {
t.Parallel()

telemetryEndpoints := interfaceToTelemetryEndpoint(testCase.endpoints)
assert.Equal(t, testCase.expected, telemetryEndpoints)
require.Equal(t, testCase.expected, telemetryEndpoints)
})
}
}

0 comments on commit fcc3cf0

Please sign in to comment.