From 3d1f39fab607232a944f38577625dd05f7a8fe21 Mon Sep 17 00:00:00 2001 From: Michael Dai Date: Thu, 8 Aug 2019 23:16:53 +0800 Subject: [PATCH] Pipeline: Fixed labels process test with same objects (#869) * Fixed labels process test with same objects Signed-off-by: jojohappy --- pkg/logentry/stages/labels_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/logentry/stages/labels_test.go b/pkg/logentry/stages/labels_test.go index 944bd7665c382..88781331c9354 100644 --- a/pkg/logentry/stages/labels_test.go +++ b/pkg/logentry/stages/labels_test.go @@ -158,7 +158,7 @@ func TestLabelStage_Process(t *testing.T) { t.Fatal(err) } st.Process(test.inputLabels, test.extractedData, nil, nil) - assert.Equal(t, test.expectedLabels, test.expectedLabels) + assert.Equal(t, test.expectedLabels, test.inputLabels) }) } }