Skip to content

Commit

Permalink
type helpers test
Browse files Browse the repository at this point in the history
  • Loading branch information
lafentres committed Nov 14, 2023
1 parent 81d78dd commit beb2340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion honeycombio/type_helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func Test_floatToTPM(t *testing.T) {
{input: 0.0001, expected: 1},
}
for _, testCase := range testCases {
t.Run(fmt.Sprintf("returns correct value for input %f", testCase.input), func(t *testing.T) {
t.Run(fmt.Sprintf("returns correct value for input %g", testCase.input), func(t *testing.T) {
assert.Equal(t, testCase.expected, floatToTPM(testCase.input))
})
}
Expand Down

0 comments on commit beb2340

Please sign in to comment.