Skip to content

Commit f79125e

Browse files
moschnerSvaHipska
andauthored
Update plugins/inputs/influxdb_v2_listener/influxdb_v2_listener_test.go
Co-authored-by: Thomas Casteleyn <[email protected]>
1 parent 95ab80a commit f79125e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/inputs/influxdb_v2_listener/influxdb_v2_listener_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ func TestPing(t *testing.T) {
600600
bodyBytes, err := io.ReadAll(resp.Body)
601601
require.NoError(t, err)
602602
require.NoError(t, resp.Body.Close())
603-
require.Equal(t, 0, len(bodyBytes))
603+
require.Len(t, bodyBytes, 0)
604604
}
605605

606606
func TestReady(t *testing.T) {

0 commit comments

Comments
 (0)