File tree Expand file tree Collapse file tree 5 files changed +7
-17
lines changed Expand file tree Collapse file tree 5 files changed +7
-17
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,6 @@ linters:
59
59
- paralleltest
60
60
- prealloc
61
61
- rowserrcheck
62
- - scopelint
63
- - structcheck
64
62
- testpackage
65
63
- varnamelen
66
64
- wastedassign
Original file line number Diff line number Diff line change 1
1
module github.com/bombsimon/wsl/v4
2
2
3
- go 1.21
3
+ go 1.22
4
4
5
5
require golang.org/x/tools v0.17.0
6
6
7
- require (
8
- golang.org/x/mod v0.15.0 // indirect
9
- golang.org/x/sys v0.17.0 // indirect
10
- )
7
+ require golang.org/x/mod v0.15.0 // indirect
Original file line number Diff line number Diff line change 1
- golang.org/x/mod v0.8.0 h1:LUYupSeNrTNCGzR/hVBk2NHZO4hXcVaW1k4Qx7rjPx8 =
2
- golang.org/x/mod v0.8.0 /go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs =
3
1
golang.org/x/mod v0.15.0 h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8 =
4
2
golang.org/x/mod v0.15.0 /go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c =
5
- golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o =
6
- golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU =
7
- golang.org/x/sys v0.5.0 /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
8
- golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y =
9
- golang.org/x/sys v0.17.0 /go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA =
10
- golang.org/x/tools v0.6.0 h1:BOw41kyTf3PuCW1pVQf8+Cyg8pMlkYB1oo9iJ6D/lKM =
11
- golang.org/x/tools v0.6.0 /go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU =
3
+ golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ =
4
+ golang.org/x/sync v0.6.0 /go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk =
12
5
golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc =
13
6
golang.org/x/tools v0.17.0 /go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps =
Original file line number Diff line number Diff line change @@ -353,7 +353,7 @@ func (p *processor) parseBlockStatements(statements []ast.Stmt) {
353
353
return false
354
354
}
355
355
356
- for j := 0 ; j < n ; j ++ {
356
+ for j := range n {
357
357
s1 := statements [i + j ]
358
358
s2 := statements [i + j + 1 ]
359
359
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ func TestWIP(t *testing.T) {
15
15
}
16
16
17
17
func TestDefaultConfig (t * testing.T ) {
18
+ t .Parallel ()
19
+
18
20
testdata := analysistest .TestData ()
19
21
20
22
testCases := []struct {
You can’t perform that action at this time.
0 commit comments