Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-zaremba committed Feb 20, 2023
1 parent 7d41b95 commit befb8c2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions x/oracle/types/params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ func TestValidateVoteThreshold(t *testing.T) {
err := validateVoteThreshold("invalidSdkType")
require.ErrorContains(t, err, "invalid parameter type: string")

err = validateVoteThreshold(sdk.MustNewDecFromStr("0.31"))
require.ErrorContains(t, err, "threshold must be bigger than 0.330000000000000000 and <= 1")

err = validateVoteThreshold(sdk.MustNewDecFromStr("40.0"))
require.ErrorContains(t, err, "threshold must be bigger than 0.330000000000000000 and <= 1")

err = validateVoteThreshold(sdk.MustNewDecFromStr("0.35"))
require.Nil(t, err)
}
Expand Down

0 comments on commit befb8c2

Please sign in to comment.