Skip to content

Commit 5b29bb6

Browse files
committed
chore: fix side effects
1 parent 7e77d6c commit 5b29bb6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ require (
140140
go.augendre.info/fatcontext v0.9.0
141141
go.uber.org/automaxprocs v1.6.0
142142
go.yaml.in/yaml/v3 v3.0.4
143+
golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b
143144
golang.org/x/mod v0.32.0
144145
golang.org/x/sync v0.19.0
145146
golang.org/x/sys v0.40.0

pkg/golinters/exptostd/exptostd_integration_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ package exptostd
33
import (
44
"testing"
55

6+
// Without this dependency, the analyzer tests related to fix fails.
7+
// The packages `slices` have been randomly chosen to import `golang.org/x/exp`.
8+
_ "golang.org/x/exp/slices"
9+
610
"github.com/golangci/golangci-lint/v2/test/testshared/integration"
711
)
812

0 commit comments

Comments
 (0)