Skip to content

Commit 84442f2

Browse files
build(deps): bump github.com/catenacyber/perfsprint from 0.3.1 to 0.4.0 (#4236)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent 5cb4973 commit 84442f2

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
@@ -27,7 +27,7 @@ require (
2727
github.com/breml/errchkjson v0.3.6
2828
github.com/butuzov/ireturn v0.2.2
2929
github.com/butuzov/mirror v1.1.0
30-
github.com/catenacyber/perfsprint v0.3.1
30+
github.com/catenacyber/perfsprint v0.4.0
3131
github.com/charithe/durationcheck v0.0.10
3232
github.com/curioswitch/go-reassign v0.2.0
3333
github.com/daixiang0/gci v0.11.2

go.sum

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

test/testdata/perfsprint.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
package testdata
33

44
import (
5-
"fmt"
5+
"fmt" // want "Fix imports"
66
)
77

88
func TestPerfsprint() {

test/testdata/perfsprint_custom.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
package testdata
44

55
import (
6-
"fmt"
6+
"fmt" // want "Fix imports"
77
)
88

99
func TestPerfsprint2() {
@@ -29,8 +29,8 @@ func TestPerfsprint2() {
2929
fmt.Sprintf("%d", ui)
3030
fmt.Sprint(ui)
3131
fmt.Sprintf("%x", []byte{'a'}) // want "fmt.Sprintf can be replaced with faster hex.EncodeToString"
32-
fmt.Errorf("hello") // want "fmt.Errorf can be replaced with errors.New"
33-
fmt.Sprintf("Hello %s", s) // want "fmt.Sprintf can be replaced with string addition"
32+
fmt.Errorf("hello")
33+
fmt.Sprintf("Hello %s", s) // want "fmt.Sprintf can be replaced with string addition"
3434

3535
fmt.Sprint("test", 42)
3636
fmt.Sprint(42, 42)

0 commit comments

Comments
 (0)