Skip to content

Commit

Permalink
Use require.NoError instead of require.Nil
Browse files Browse the repository at this point in the history
  • Loading branch information
p-offtermatt committed Dec 20, 2023
1 parent 49dd0a7 commit 1aee3d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mbt/driver/mbt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ func CompareValidatorSets(t *testing.T, driver *Driver, currentModelState map[st

// get the validator for that address on the provider
providerVal, err := driver.providerStakingKeeper().GetValidatorByConsAddr(driver.providerCtx(), providerConsAddr.Address)
require.Nil(t, err, "Error getting provider validator")
require.NoError(t, err, "Error getting provider validator")

// use the moniker of that validator
consumerCurValSet[providerVal.GetMoniker()] = val.Power
Expand Down

0 comments on commit 1aee3d9

Please sign in to comment.