From 7fc0caf00f266970c4cd2929e6664fc38ec8b554 Mon Sep 17 00:00:00 2001 From: Premendra Singh Date: Thu, 21 May 2020 15:04:24 -0700 Subject: [PATCH] formatting issue fixed --- libbeat/processors/dissect/dissect_test.go | 36 +++++++++++----------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/libbeat/processors/dissect/dissect_test.go b/libbeat/processors/dissect/dissect_test.go index 9aeb8145177..5c06272cabc 100644 --- a/libbeat/processors/dissect/dissect_test.go +++ b/libbeat/processors/dissect/dissect_test.go @@ -325,40 +325,40 @@ func BenchmarkDissectComplexStackTraceDegradation(b *testing.B) { at java.lang.Thread.run(Thread.java:748) MACHINE[hello]` tests := []struct { - Name string - Tok string + Name string + Tok string }{ { - Name:"ComplexStackTrace-1", - Tok: "%{origin} %{message}", + Name: "ComplexStackTrace-1", + Tok: "%{origin} %{message}", }, { - Name:"ComplexStackTrace-2", - Tok: "%{day} %{origin} %{message}", + Name: "ComplexStackTrace-2", + Tok: "%{day} %{origin} %{message}", }, { - Name:"ComplexStackTrace-3", - Tok: "%{day}-%{month} %{origin} %{message}", + Name: "ComplexStackTrace-3", + Tok: "%{day}-%{month} %{origin} %{message}", }, { - Name:"ComplexStackTrace-4", - Tok: "%{day}-%{month}-%{year} %{origin} %{message}", + Name: "ComplexStackTrace-4", + Tok: "%{day}-%{month}-%{year} %{origin} %{message}", }, { - Name:"ComplexStackTrace-5", - Tok: "%{day}-%{month}-%{year} %{hour} %{origin} %{message}", + Name: "ComplexStackTrace-5", + Tok: "%{day}-%{month}-%{year} %{hour} %{origin} %{message}", }, { - Name:"ComplexStackTrace-6", - Tok: "%{day}-%{month}-%{year} %{hour} %{severity} %{origin} %{message}", + Name: "ComplexStackTrace-6", + Tok: "%{day}-%{month}-%{year} %{hour} %{severity} %{origin} %{message}", }, { - Name:"ComplexStackTrace-7", - Tok: "%{day}-%{month}-%{year} %{hour} %{severity} [%{thread_id}] %{origin} %{message}", + Name: "ComplexStackTrace-7", + Tok: "%{day}-%{month}-%{year} %{hour} %{severity} [%{thread_id}] %{origin} %{message}", }, { - Name:"ComplexStackTrace-8", - Tok: "%{day}-%{month}-%{year} %{hour} %{severity} [%{thread_id}] %{origin} %{first_line} %{message}", + Name: "ComplexStackTrace-8", + Tok: "%{day}-%{month}-%{year} %{hour} %{severity} [%{thread_id}] %{origin} %{first_line} %{message}", }, }