Skip to content

Commit

Permalink
formatting issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
premendrasingh committed May 21, 2020
1 parent 44c6241 commit 7fc0caf
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions libbeat/processors/dissect/dissect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
},
}

Expand Down

0 comments on commit 7fc0caf

Please sign in to comment.