diff --git a/pkg/parse/default_parsers_test.go b/pkg/parse/default_parsers_test.go index 1ad33b5..b705faa 100644 --- a/pkg/parse/default_parsers_test.go +++ b/pkg/parse/default_parsers_test.go @@ -103,7 +103,7 @@ func TestLevelParsers(t *testing.T) { } func TestNoopParsers(t *testing.T) { - // nolint: errcheck + //nolint: errcheck testData := []func(){func() { NoopTimeParser(1) }, func() { NoopLevelParser("info") }} for _, test := range testData { ok := func() (ok bool) { diff --git a/pkg/parse/parse_fuzz_test.go b/pkg/parse/parse_fuzz_test.go index b693da5..4b1bb49 100644 --- a/pkg/parse/parse_fuzz_test.go +++ b/pkg/parse/parse_fuzz_test.go @@ -185,7 +185,7 @@ func FuzzDefaultTimeParser(f *testing.F) { f.Add(`{"seconds": 42, "nanos": 69}`) f.Fuzz(func(t *testing.T, in string) { // All we care about are panics. Errors are expected. - DefaultTimeParser(prepareTime(in)) // nolint:errcheck + DefaultTimeParser(prepareTime(in)) //nolint:errcheck }) } @@ -194,6 +194,6 @@ func FuzzStrictUnixTimeParser(f *testing.F) { f.Add("1641092371.456") f.Fuzz(func(t *testing.T, in string) { // All we care about are panics. Errors are expected. - StrictUnixTimeParser(prepareTime(in)) // nolint:errcheck + StrictUnixTimeParser(prepareTime(in)) //nolint:errcheck }) }