Skip to content

Commit

Permalink
chore: update BucketingDistribution bucketing test to include percent…
Browse files Browse the repository at this point in the history
…ages with 4 decimal places
  • Loading branch information
kaushalkapasi committed Sep 17, 2024
1 parent 160fd50 commit 9f4179f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bucketing/bucketing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,11 @@ func TestUserHashingBucketing_BucketingDistribution(t *testing.T) {
Distribution: []TargetDistribution{
{
Variation: "var1",
Percentage: 0.25,
Percentage: 0.2555,
},
{
Variation: "var2",
Percentage: 0.45,
Percentage: 0.4445,
},
{
Variation: "var3",
Expand Down

0 comments on commit 9f4179f

Please sign in to comment.