Skip to content

Commit

Permalink
Update x/distribution/types/params_internal_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Zaremba <robert@zaremba.ch>
  • Loading branch information
Alessio Treglia and robert-zaremba authored Mar 17, 2021
1 parent 6fa12a9 commit b01cd9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/distribution/types/params_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func Test_validateAuxFuncs(t *testing.T) {
wantErr bool
}{
{"wrong type", args{10.5}, true},
{"nil Int pointer", args{sdk.Dec{}}, true},
{"empty sdk.Dec", args{sdk.Dec{}}, true},
{"negative", args{sdk.NewDec(-1)}, true},
{"one dec", args{sdk.NewDec(1)}, false},
{"two dec", args{sdk.NewDec(2)}, true},
Expand Down

0 comments on commit b01cd9a

Please sign in to comment.