From f04088bed679931bac596883ca4be41683595f61 Mon Sep 17 00:00:00 2001 From: Trock Date: Tue, 25 May 2021 08:53:44 +0800 Subject: [PATCH] test: length not zero --- otkafka/processor/processor_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/otkafka/processor/processor_test.go b/otkafka/processor/processor_test.go index 875fb227..dce2a41e 100644 --- a/otkafka/processor/processor_test.go +++ b/otkafka/processor/processor_test.go @@ -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))