Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
flc1125 committed Dec 9, 2024
1 parent cb5f43b commit 39b2c89
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ func TestNewRecordMetrics(t *testing.T) {
assert.Equal(t, int64(0), server.responseBodySizeHistogram.(*testRecorder[int64]).value)
assert.Equal(t, float64(0), server.requestDurationHistogram.(*testRecorder[float64]).value)

assert.Len(t, server.requestBodySizeHistogram.(*testRecorder[int64]).attributes, 0)
assert.Len(t, server.responseBodySizeHistogram.(*testRecorder[int64]).attributes, 0)
assert.Len(t, server.requestDurationHistogram.(*testRecorder[float64]).attributes, 0)
assert.Empty(t, server.requestBodySizeHistogram.(*testRecorder[int64]).attributes)
assert.Empty(t, server.responseBodySizeHistogram.(*testRecorder[int64]).attributes)
assert.Empty(t, server.requestDurationHistogram.(*testRecorder[float64]).attributes)
},
},
}
Expand Down

0 comments on commit 39b2c89

Please sign in to comment.