Skip to content

Commit b9c0a82

Browse files
committed
chore: update tests golang/go#71485
1 parent 47d6c87 commit b9c0a82

File tree

1 file changed

+3
-3
lines changed
  • pkg/golinters/govet/testdata/fix/in

1 file changed

+3
-3
lines changed

pkg/golinters/govet/testdata/fix/in/govet.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ type Foo struct {
1818
}
1919

2020
func nonConstantFormat(s string) {
21-
fmt.Printf(s)
21+
fmt.Printf("%s", s)
2222
fmt.Printf(s, "arg")
23-
fmt.Fprintf(os.Stderr, s)
24-
log.Printf(s)
23+
fmt.Fprintf(os.Stderr, "%s", s)
24+
log.Printf("%s", s)
2525
}

0 commit comments

Comments
 (0)