Skip to content

Commit

Permalink
Check for untyped equality
Browse files Browse the repository at this point in the history
  • Loading branch information
p-offtermatt committed Jul 16, 2024
1 parent fa0a336 commit 44ff049
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/ccv/provider/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -877,15 +877,15 @@ func TestKeeperIntConsumerParams(t *testing.T) {
// Retrieve and check initial value
actualValue, found := tt.getFunc(ctx, chainID)
require.True(t, found)
require.Equal(t, initialValue, actualValue)
require.EqualValues(t, initialValue, actualValue)

// Update value
tt.settingFunc(ctx, chainID, int64(updatedValue))

// Retrieve and check updated value
newActualValue, found := tt.getFunc(ctx, chainID)
require.True(t, found)
require.Equal(t, updatedValue, newActualValue)
require.EqualValues(t, updatedValue, newActualValue)

// Check non-existent chain ID
_, found = tt.getFunc(ctx, "not the chainID")
Expand Down

0 comments on commit 44ff049

Please sign in to comment.