Skip to content

Commit

Permalink
update test assert
Browse files Browse the repository at this point in the history
  • Loading branch information
paupm committed Sep 13, 2024
1 parent 873670b commit 5703bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/writers/adapters/elasticsearch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func TestAdapterReceiveInvalidMessage(t *testing.T) {

bulk.AssertNotCalled(t, "func1")
assert.Len(t, acks, 1)
assert.False(t, acks[0].Body[0] != 0)
assert.True(t, acks[0].Body[0] == 0)
}

func TestBulkActionWithErrorsMustDiscardAllMessages(t *testing.T) {
Expand Down

0 comments on commit 5703bb8

Please sign in to comment.