Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-zaremba committed Nov 13, 2023
1 parent a9a7e83 commit 2b56e20
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x/oracle/types/ballot_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func TestPBStandardDeviation(t *testing.T) {
},
[]int64{1, 1, 100, 1},
[]bool{true, true, true, true},
sdk.MustNewDecFromStr("49995.000362536252310905"),
sdk.MustNewDecFromStr("49995.000362536252310906"),
},
{
// Adding fake validator doesn't change outcome
Expand Down Expand Up @@ -256,7 +256,6 @@ func TestPBStandardDeviation(t *testing.T) {
pb = append(pb, vote)
}
stdDev, _ := pb.StandardDeviation()

assert.DeepEqual(t, tc.standardDeviation, stdDev)
}
}
Expand Down

0 comments on commit 2b56e20

Please sign in to comment.