From 4bc9958bb6af8c760574e802b1b2ad5d95e8bdc1 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Wed, 9 Aug 2023 11:41:07 +0200 Subject: [PATCH] chore: add comments --- test/fix_test.go | 2 ++ test/linters_test.go | 1 + 2 files changed, 3 insertions(+) diff --git a/test/fix_test.go b/test/fix_test.go index db9025d87fd6..12f54d0ad3f5 100644 --- a/test/fix_test.go +++ b/test/fix_test.go @@ -44,6 +44,7 @@ func TestFix(t *testing.T) { for _, input := range sources { input := input + // TODO(ldez): remove this limitation when gocritic/ruleguard will be fixed. if filepath.Base(input) == "gocritic.go" { t.Logf("skip gocritic because of a bug with ruleguard") continue @@ -87,6 +88,7 @@ func TestFix_pathPrefix(t *testing.T) { for _, input := range sources { input := input + // TODO(ldez): remove this limitation when gocritic/ruleguard will be fixed. if filepath.Base(input) == "gocritic.go" { t.Logf("skip gocritic because of a bug with ruleguard") continue diff --git a/test/linters_test.go b/test/linters_test.go index 5d53a0d31563..d76481b6608d 100644 --- a/test/linters_test.go +++ b/test/linters_test.go @@ -63,6 +63,7 @@ func testSourcesFromDir(t *testing.T, dir string) { for _, source := range sources { source := source + // TODO(ldez): remove this limitation when gocritic/ruleguard will be fixed. if filepath.Base(source) == "gocritic.go" { t.Logf("skip gocritic because of a bug with ruleguard") continue