Skip to content

Commit

Permalink
test: length not zero
Browse files Browse the repository at this point in the history
  • Loading branch information
GGXXLL committed May 25, 2021
1 parent fee2a1b commit f04088b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion otkafka/processor/processor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@ func TestProcessor(t *testing.T) {
if err != nil {
t.Error(err)
}

assert.NotZero(t, len(handlerA.data))
assert.NotZero(t, len(handlerB.data))
assert.Equal(t, 0, len(handlerA.data)%3)
assert.Equal(t, 0, len(handlerB.data)%3)
assert.Equal(t, 4, len(handlerC.data))
Expand Down

0 comments on commit f04088b

Please sign in to comment.