From b552cc964c0ba7d7864dde15e7b0b5d8b5583f0e Mon Sep 17 00:00:00 2001 From: "Heiko Schlittermann (HS12-RIPE)" Date: Wed, 29 Jun 2022 23:39:57 +0200 Subject: [PATCH] test: exchange confused parameters (expected vs actual) --- plugins/outputs/http/http_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/outputs/http/http_test.go b/plugins/outputs/http/http_test.go index 50f690ebcb024..be3b7883305d5 100644 --- a/plugins/outputs/http/http_test.go +++ b/plugins/outputs/http/http_test.go @@ -667,9 +667,9 @@ func TestBatchedUnbatched(t *testing.T) { require.NoError(t, err) if client.UseBatchFormat { - require.Equal(t, requests, 1, "batched") + require.Equal(t, 1, requests, "batched") } else { - require.Equal(t, requests, 3, "unbatched") + require.Equal(t, 3, requests, "unbatched") } } })