Skip to content

Commit

Permalink
test: exchange confused parameters (expected vs actual) (#11422)
Browse files Browse the repository at this point in the history
(cherry picked from commit f4cdda4)
  • Loading branch information
HeikoSchlittermann authored and Sven Rebhan committed Jul 5, 2022
1 parent 637b8d3 commit 36c9a35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/outputs/http/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
})
Expand Down

0 comments on commit 36c9a35

Please sign in to comment.