Skip to content

Commit 538e71d

Browse files
Bump golang.org/x/tools from 0.36.0 to 0.37.0 (#415)
* Bump golang.org/x/tools from 0.36.0 to 0.37.0 Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.36.0 to 0.37.0. - [Release notes](https://github.com/golang/tools/releases) - [Commits](golang/tools@v0.36.0...v0.37.0) --- updated-dependencies: - dependency-name: golang.org/x/tools dependency-version: 0.37.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Fix non-constant format string in calls --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kazuma Watanabe <[email protected]>
1 parent 0be18a3 commit 538e71d

File tree

6 files changed

+36
-36
lines changed

6 files changed

+36
-36
lines changed

go.mod

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/terraform-linters/tflint-plugin-sdk
22

3-
go 1.23.0
3+
go 1.24.0
44

55
toolchain go1.24.1
66

@@ -12,7 +12,7 @@ require (
1212
github.com/hashicorp/go-version v1.7.0
1313
github.com/hashicorp/hcl/v2 v2.24.0
1414
github.com/zclconf/go-cty v1.17.0
15-
golang.org/x/tools v0.36.0
15+
golang.org/x/tools v0.37.0
1616
google.golang.org/grpc v1.75.1
1717
google.golang.org/protobuf v1.36.9
1818
)
@@ -29,10 +29,10 @@ require (
2929
github.com/oklog/run v1.0.0 // indirect
3030
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
3131
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
32-
golang.org/x/mod v0.27.0 // indirect
33-
golang.org/x/net v0.43.0 // indirect
34-
golang.org/x/sync v0.16.0 // indirect
35-
golang.org/x/sys v0.35.0 // indirect
36-
golang.org/x/text v0.28.0 // indirect
32+
golang.org/x/mod v0.28.0 // indirect
33+
golang.org/x/net v0.44.0 // indirect
34+
golang.org/x/sync v0.17.0 // indirect
35+
golang.org/x/sys v0.36.0 // indirect
36+
golang.org/x/text v0.29.0 // indirect
3737
google.golang.org/genproto/googleapis/rpc v0.0.0-20250707201910-8d1bb00bc6a7 // indirect
3838
)

go.sum

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -71,24 +71,24 @@ go.opentelemetry.io/otel/sdk/metric v1.37.0 h1:90lI228XrB9jCMuSdA0673aubgRobVZFh
7171
go.opentelemetry.io/otel/sdk/metric v1.37.0/go.mod h1:cNen4ZWfiD37l5NhS+Keb5RXVWZWpRE+9WyVCpbo5ps=
7272
go.opentelemetry.io/otel/trace v1.37.0 h1:HLdcFNbRQBE2imdSEgm/kwqmQj1Or1l/7bW6mxVK7z4=
7373
go.opentelemetry.io/otel/trace v1.37.0/go.mod h1:TlgrlQ+PtQO5XFerSPUYG0JSgGyryXewPGyayAWSBS0=
74-
golang.org/x/mod v0.27.0 h1:kb+q2PyFnEADO2IEF935ehFUXlWiNjJWtRNgBLSfbxQ=
75-
golang.org/x/mod v0.27.0/go.mod h1:rWI627Fq0DEoudcK+MBkNkCe0EetEaDSwJJkCcjpazc=
76-
golang.org/x/net v0.43.0 h1:lat02VYK2j4aLzMzecihNvTlJNQUq316m2Mr9rnM6YE=
77-
golang.org/x/net v0.43.0/go.mod h1:vhO1fvI4dGsIjh73sWfUVjj3N7CA9WkKJNQm2svM6Jg=
78-
golang.org/x/sync v0.16.0 h1:ycBJEhp9p4vXvUZNszeOq0kGTPghopOL8q0fq3vstxw=
79-
golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
74+
golang.org/x/mod v0.28.0 h1:gQBtGhjxykdjY9YhZpSlZIsbnaE2+PgjfLWUQTnoZ1U=
75+
golang.org/x/mod v0.28.0/go.mod h1:yfB/L0NOf/kmEbXjzCPOx1iK1fRutOydrCMsqRhEBxI=
76+
golang.org/x/net v0.44.0 h1:evd8IRDyfNBMBTTY5XRF1vaZlD+EmWx6x8PkhR04H/I=
77+
golang.org/x/net v0.44.0/go.mod h1:ECOoLqd5U3Lhyeyo/QDCEVQ4sNgYsqvCZ722XogGieY=
78+
golang.org/x/sync v0.17.0 h1:l60nONMj9l5drqw6jlhIELNv9I0A4OFgRsG9k2oT9Ug=
79+
golang.org/x/sync v0.17.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
8080
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
8181
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
8282
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
8383
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
8484
golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
8585
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
86-
golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI=
87-
golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
88-
golang.org/x/text v0.28.0 h1:rhazDwis8INMIwQ4tpjLDzUhx6RlXqZNPEM0huQojng=
89-
golang.org/x/text v0.28.0/go.mod h1:U8nCwOR8jO/marOQ0QbDiOngZVEBB7MAiitBuMjXiNU=
90-
golang.org/x/tools v0.36.0 h1:kWS0uv/zsvHEle1LbV5LE8QujrxB3wfQyxHfhOk0Qkg=
91-
golang.org/x/tools v0.36.0/go.mod h1:WBDiHKJK8YgLHlcQPYQzNCkUxUypCaa5ZegCVutKm+s=
86+
golang.org/x/sys v0.36.0 h1:KVRy2GtZBrk1cBYA7MKu5bEZFxQk4NIDV6RLVcC8o0k=
87+
golang.org/x/sys v0.36.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
88+
golang.org/x/text v0.29.0 h1:1neNs90w9YzJ9BocxfsQNHKuAT4pkghyXc4nhZ6sJvk=
89+
golang.org/x/text v0.29.0/go.mod h1:7MhJOA9CD2qZyOKYazxdYMF85OwPdEr9jTtBpO7ydH4=
90+
golang.org/x/tools v0.37.0 h1:DVSRzp7FwePZW356yEAChSdNcQo6Nsp+fex1SUW09lE=
91+
golang.org/x/tools v0.37.0/go.mod h1:MBN5QPQtLMHVdvsbtarmTNukZDdgwdwlO5qGacAzF0w=
9292
gonum.org/v1/gonum v0.16.0 h1:5+ul4Swaf3ESvrOnidPp4GZbzf0mxVQpDCYUQE7OJfk=
9393
gonum.org/v1/gonum v0.16.0/go.mod h1:fef3am4MQ93R2HHpKnLk4/Tbh/s0+wqD5nfa6Pnwy4E=
9494
google.golang.org/genproto/googleapis/rpc v0.0.0-20250707201910-8d1bb00bc6a7 h1:pFyd6EwwL2TqFf8emdthzeX+gZE1ElRq3iM8pui4KBY=

internal/fixer_test.go

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ func TestReplaceText(t *testing.T) {
668668
changes[filename] = string(source)
669669
}
670670
if diff := cmp.Diff(test.want, changes); diff != "" {
671-
t.Errorf(diff)
671+
t.Error(diff)
672672
}
673673
})
674674
}
@@ -757,7 +757,7 @@ func TestInsertText(t *testing.T) {
757757
changes[filename] = string(source)
758758
}
759759
if diff := cmp.Diff(test.want, changes); diff != "" {
760-
t.Errorf(diff)
760+
t.Error(diff)
761761
}
762762
})
763763
}
@@ -821,7 +821,7 @@ func TestRemove(t *testing.T) {
821821
changes[filename] = string(source)
822822
}
823823
if diff := cmp.Diff(test.want, changes); diff != "" {
824-
t.Errorf(diff)
824+
t.Error(diff)
825825
}
826826
})
827827
}
@@ -1039,7 +1039,7 @@ locals {
10391039
}
10401040

10411041
if diff := cmp.Diff(test.want, string(fixer.changes["main.tf"])); diff != "" {
1042-
t.Errorf(diff)
1042+
t.Error(diff)
10431043
}
10441044
})
10451045
}
@@ -1278,7 +1278,7 @@ baz = 1`,
12781278
}
12791279

12801280
if diff := cmp.Diff(test.want, string(fixer.changes["main.tf"])); diff != "" {
1281-
t.Errorf(diff)
1281+
t.Error(diff)
12821282
}
12831283
})
12841284
}
@@ -1337,7 +1337,7 @@ block {
13371337
}
13381338

13391339
if diff := cmp.Diff(test.want, string(fixer.changes["main.tf"])); diff != "" {
1340-
t.Errorf(diff)
1340+
t.Error(diff)
13411341
}
13421342
})
13431343
}
@@ -1378,7 +1378,7 @@ func TestTextAt(t *testing.T) {
13781378
fixer := NewFixer(test.src)
13791379
got := fixer.TextAt(test.rng)
13801380
if diff := cmp.Diff(test.want, got); diff != "" {
1381-
t.Errorf(diff)
1381+
t.Error(diff)
13821382
}
13831383
})
13841384
}
@@ -1504,7 +1504,7 @@ func TestValueText(t *testing.T) {
15041504
fixer := NewFixer(nil)
15051505
got := fixer.ValueText(test.value)
15061506
if diff := cmp.Diff(test.want, got); diff != "" {
1507-
t.Errorf(diff)
1507+
t.Error(diff)
15081508
}
15091509
})
15101510
}
@@ -1551,7 +1551,7 @@ func TestRangeTo(t *testing.T) {
15511551

15521552
got := fixer.RangeTo(test.to, "", start)
15531553
if diff := cmp.Diff(test.want, got); diff != "" {
1554-
t.Errorf(diff)
1554+
t.Error(diff)
15551555
}
15561556
})
15571557
}
@@ -1600,10 +1600,10 @@ foo = 1
16001600
}
16011601

16021602
if diff := cmp.Diff(src, fixer.sources); diff != "" {
1603-
t.Errorf(diff)
1603+
t.Error(diff)
16041604
}
16051605
if diff := cmp.Diff(fixer.Changes(), changed); diff != "" {
1606-
t.Errorf(diff)
1606+
t.Error(diff)
16071607
}
16081608
if !fixer.HasChanges() {
16091609
t.Errorf("unexpected changes: %#v", fixer.Changes())
@@ -1624,7 +1624,7 @@ barbaz = 2
16241624
}
16251625

16261626
if diff := cmp.Diff(fixer.Changes(), fixed); diff != "" {
1627-
t.Errorf(diff)
1627+
t.Error(diff)
16281628
}
16291629
if len(fixer.shifts) != 2 {
16301630
t.Errorf("unexpected shifts: %#v", fixer.shifts)
@@ -1634,7 +1634,7 @@ barbaz = 2
16341634
fixer.ApplyChanges()
16351635

16361636
if diff := cmp.Diff(fixed, fixer.sources); diff != "" {
1637-
t.Errorf(diff)
1637+
t.Error(diff)
16381638
}
16391639
if len(fixer.Changes()) != 0 {
16401640
t.Errorf("unexpected changes: %#v", fixer.Changes())
@@ -1707,7 +1707,7 @@ func TestStashChanges(t *testing.T) {
17071707
}
17081708

17091709
if diff := cmp.Diff(test.want, string(fixer.changes["main.tf"])); diff != "" {
1710-
t.Errorf(diff)
1710+
t.Error(diff)
17111711
}
17121712
if test.shifts != len(fixer.shifts) {
17131713
t.Errorf("shifts: want %d, got %d", test.shifts, len(fixer.shifts))

terraform/addrs/parse_ref_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ func TestParseRef(t *testing.T) {
747747
}
748748

749749
for _, problem := range deep.Equal(got, test.Want) {
750-
t.Errorf(problem)
750+
t.Error(problem)
751751
}
752752
})
753753
}

terraform/lang/references_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func TestReferencesInExpr(t *testing.T) {
111111
})
112112

113113
for _, problem := range deep.Equal(got, test.Want) {
114-
t.Errorf(problem)
114+
t.Error(problem)
115115
}
116116
})
117117
}

tflint/ruleset_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func TestApplyGlobalConfig(t *testing.T) {
135135
}
136136

137137
if diff := cmp.Diff(got, test.want); diff != "" {
138-
t.Errorf(diff)
138+
t.Error(diff)
139139
}
140140
})
141141
}

0 commit comments

Comments
 (0)