Skip to content

Commit e21ee9a

Browse files
build(deps): bump github.com/ldez/exptostd from 0.4.0 to 0.4.1 (#5390)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent 8e1d5f4 commit e21ee9a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ require (
6565
github.com/kunwardeep/paralleltest v1.0.10
6666
github.com/kyoh86/exportloopref v0.1.11
6767
github.com/lasiar/canonicalheader v1.1.2
68-
github.com/ldez/exptostd v0.4.0
68+
github.com/ldez/exptostd v0.4.1
6969
github.com/ldez/gomoddirectives v0.6.1
7070
github.com/ldez/grignotin v0.9.0
7171
github.com/ldez/tagliatelle v0.7.1

go.sum

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/golinters/exptostd/testdata/exptostd_go123.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import (
1313
func _(m, a map[string]string) {
1414
maps.Clone(m) // want `golang.org/x/exp/maps.Clone\(\) can be replaced by maps.Clone\(\)`
1515

16-
maps.Keys(m) // want `golang.org/x/exp/maps.Keys\(\) can be replaced by slices.Collect\(maps.Keys\(\)\)`
16+
maps.Keys(m) // want `golang.org/x/exp/maps\.Keys\(\) can be replaced by slices\.AppendSeq\(make\(\[\]T, 0, len\(data\)\), maps\.Keys\(data\)\)`
1717

18-
maps.Values(m) // want `golang.org/x/exp/maps.Values\(\) can be replaced by slices.Collect\(maps.Values\(\)\)`
18+
maps.Values(m) // want `golang.org/x/exp/maps\.Values\(\) can be replaced by slices\.AppendSeq\(make\(\[\]T, 0, len\(data\)\), maps\.Values\(data\)\)`
1919

2020
maps.Equal(m, a) // want `golang.org/x/exp/maps.Equal\(\) can be replaced by maps.Equal\(\)`
2121

pkg/golinters/exptostd/testdata/exptostd_go123_cgo.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ func _() {
3030
func _(m, a map[string]string) {
3131
maps.Clone(m) // want `golang.org/x/exp/maps.Clone\(\) can be replaced by maps.Clone\(\)`
3232

33-
maps.Keys(m) // want `golang.org/x/exp/maps.Keys\(\) can be replaced by slices.Collect\(maps.Keys\(\)\)`
33+
maps.Keys(m) // want `golang.org/x/exp/maps\.Keys\(\) can be replaced by slices\.AppendSeq\(make\(\[\]T, 0, len\(data\)\), maps\.Keys\(data\)\)`
3434

35-
maps.Values(m) // want `golang.org/x/exp/maps.Values\(\) can be replaced by slices.Collect\(maps.Values\(\)\)`
35+
maps.Values(m) // want `golang.org/x/exp/maps\.Values\(\) can be replaced by slices\.AppendSeq\(make\(\[\]T, 0, len\(data\)\), maps\.Values\(data\)\)`
3636

3737
maps.Equal(m, a) // want `golang.org/x/exp/maps.Equal\(\) can be replaced by maps.Equal\(\)`
3838

0 commit comments

Comments
 (0)