From fff389b0dfcc9d38cdf56246c229f529d6895cd1 Mon Sep 17 00:00:00 2001 From: kaiyan-sheng Date: Tue, 3 Mar 2020 12:05:00 -0700 Subject: [PATCH] Fix v7/libbeat/logp (#16764) --- libbeat/processors/actions/copy_fields_test.go | 3 +-- libbeat/processors/actions/rename_test.go | 3 +-- libbeat/processors/actions/truncate_fields_test.go | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/libbeat/processors/actions/copy_fields_test.go b/libbeat/processors/actions/copy_fields_test.go index 8d47568e603..5dacf79dddd 100644 --- a/libbeat/processors/actions/copy_fields_test.go +++ b/libbeat/processors/actions/copy_fields_test.go @@ -20,12 +20,11 @@ package actions import ( "testing" - "github.com/elastic/beats/libbeat/logp" - "github.com/stretchr/testify/assert" "github.com/elastic/beats/v7/libbeat/beat" "github.com/elastic/beats/v7/libbeat/common" + "github.com/elastic/beats/v7/libbeat/logp" ) func TestCopyFields(t *testing.T) { diff --git a/libbeat/processors/actions/rename_test.go b/libbeat/processors/actions/rename_test.go index b3ccef05e71..23b118da879 100644 --- a/libbeat/processors/actions/rename_test.go +++ b/libbeat/processors/actions/rename_test.go @@ -21,12 +21,11 @@ import ( "reflect" "testing" - "github.com/elastic/beats/libbeat/logp" - "github.com/stretchr/testify/assert" "github.com/elastic/beats/v7/libbeat/beat" "github.com/elastic/beats/v7/libbeat/common" + "github.com/elastic/beats/v7/libbeat/logp" ) func TestRenameRun(t *testing.T) { diff --git a/libbeat/processors/actions/truncate_fields_test.go b/libbeat/processors/actions/truncate_fields_test.go index a8dbe373d9e..53ee1b3488b 100644 --- a/libbeat/processors/actions/truncate_fields_test.go +++ b/libbeat/processors/actions/truncate_fields_test.go @@ -20,12 +20,11 @@ package actions import ( "testing" - "github.com/elastic/beats/libbeat/logp" - "github.com/stretchr/testify/assert" "github.com/elastic/beats/v7/libbeat/beat" "github.com/elastic/beats/v7/libbeat/common" + "github.com/elastic/beats/v7/libbeat/logp" ) func TestTruncateFields(t *testing.T) {