Skip to content

Commit fa30bc2

Browse files
committed
lint fix
Signed-off-by: Muxian Wu <muxianw@twitter.com>
1 parent 0d3f655 commit fa30bc2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/contour/serve_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ func TestParseSamplingRate(t *testing.T) {
264264
for name, tc := range tests {
265265
t.Run(name, func(t *testing.T) {
266266
got := parseSamplingRate(tc.input)
267-
assert.Equal(t, tc.want, got)
267+
assert.InDelta(t, tc.want, got, 0.001)
268268
})
269269
}
270270
}

0 commit comments

Comments
 (0)