diff options
| author | Jakob Unterwurzacher | 2025-07-07 19:54:48 +0200 | 
|---|---|---|
| committer | Jakob Unterwurzacher | 2025-07-07 19:59:35 +0200 | 
| commit | 8f5df19b353e02ffba842fd1b15ccf93da7ee3b4 (patch) | |
| tree | 8f68b74e56a1d20af82e5093a059d180c925f9be /tests/defaults/performance_test.go | |
| parent | cdb80ea9825d2e876f1cf579bf960e4da7656b4c (diff) | |
Fix a bunch of staticcheck errors
Tool-assisted.
Diffstat (limited to 'tests/defaults/performance_test.go')
| -rw-r--r-- | tests/defaults/performance_test.go | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/defaults/performance_test.go b/tests/defaults/performance_test.go index 11d827f..8bae5c1 100644 --- a/tests/defaults/performance_test.go +++ b/tests/defaults/performance_test.go @@ -4,7 +4,6 @@ package defaults  import (  	"fmt"  	"io" -	"io/ioutil"  	"os"  	"testing" @@ -96,7 +95,7 @@ func createFiles(t *testing.B, count int, size int) {  	for i = 0; i < count; i++ {  		file := fmt.Sprintf("%s/%d", dir, i)  		if size > 0 { -			err = ioutil.WriteFile(file, buf, 0666) +			err = os.WriteFile(file, buf, 0666)  		} else {  			var fh *os.File  			fh, err = os.Create(file)  | 
