Skip to content

Commit 2ea5080

Browse files
committed
fix test
1 parent 1d6089e commit 2ea5080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

revivelib/core_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func TestReviveLintExcludeWithRegexp(t *testing.T) {
4141
revive := getMockRevive(t)
4242

4343
// ACT
44-
files := []string{}
44+
files := []string{"../testdata/if_return.go"}
4545
excludePatterns := []string{"*return*"}
4646
packages := []*revivelib.LintPattern{}
4747
for _, file := range files {

0 commit comments

Comments
 (0)