ci(deps): fix gocritic in ".*_test.go$" (#6763)

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
Matthieu MOREL
2024-05-24 11:03:26 +02:00
committed by GitHub
parent e3738333b4
commit e86bacbd6d
36 changed files with 78 additions and 68 deletions

View File

@@ -18,7 +18,7 @@ func touch(t *testing.T, name string) {
}
}
func write(t *testing.T, name string, content string) {
func write(t *testing.T, name, content string) {
err := os.WriteFile(name, []byte(content), 0666)
if err != nil {
t.Fatal(err)