diff --git a/honeycombio/type_helpers_test.go b/honeycombio/type_helpers_test.go index 3ea373e5..bea7a3c4 100644 --- a/honeycombio/type_helpers_test.go +++ b/honeycombio/type_helpers_test.go @@ -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)) }) }