From 2ea5080927af6f894c1d13703a9d91caa91866fd Mon Sep 17 00:00:00 2001 From: Marcin Federowicz Date: Wed, 29 Jan 2025 23:55:32 +0100 Subject: [PATCH] fix test --- revivelib/core_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revivelib/core_test.go b/revivelib/core_test.go index 22d1b1aff..144758af4 100644 --- a/revivelib/core_test.go +++ b/revivelib/core_test.go @@ -41,7 +41,7 @@ func TestReviveLintExcludeWithRegexp(t *testing.T) { revive := getMockRevive(t) // ACT - files := []string{} + files := []string{"../testdata/if_return.go"} excludePatterns := []string{"*return*"} packages := []*revivelib.LintPattern{} for _, file := range files {