Skip to content

Commit 9a3a3e3

Browse files
committed
tests: fix for go1.24
1 parent 3dcf548 commit 9a3a3e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/golinters/usetesting/testdata/usetesting_go124.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func Test_osMkdirTemp(t *testing.T) {
2626
}
2727

2828
func Test_osSetenv(t *testing.T) {
29-
os.Setenv("", "")
29+
os.Setenv("", "") // want `os\.Setenv\(\) could be replaced by t\.Setenv\(\) in .+`
3030
}
3131

3232
func Test_osTempDir(t *testing.T) {

0 commit comments

Comments
 (0)