From f88f665cd9a1655952bd782cf1939609f96b4c78 Mon Sep 17 00:00:00 2001 From: Greg Linton Date: Thu, 28 Jun 2018 11:49:07 -0600 Subject: [PATCH] Add missing bracket --- plugins/inputs/logparser/grok/grok_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/inputs/logparser/grok/grok_test.go b/plugins/inputs/logparser/grok/grok_test.go index 3a88b27e6..01b1a7f96 100644 --- a/plugins/inputs/logparser/grok/grok_test.go +++ b/plugins/inputs/logparser/grok/grok_test.go @@ -999,7 +999,8 @@ func TestReplaceTimestampComma(t *testing.T) { require.Equal(t, 34, m.Time().Second()) //Convert Nanosecond to milisecond for compare require.Equal(t, 555, m.Time().Nanosecond()/1000000) - +} + func TestEmptyYearInTimestamp(t *testing.T) { p := &Parser{ Patterns: []string{`%{APPLE_SYSLOG_TIME_SHORT:timestamp:ts-"Jan 2 15:04:05"} %{HOSTNAME} %{APP_NAME:app_name}\[%{NUMBER:pid:int}\]%{GREEDYDATA:message}`},