General cleanup (#999)

This commit is contained in:
Nathan Baulch
2025-08-24 20:18:46 +10:00
committed by GitHub
parent 18a2148713
commit 36df8eef6e
15 changed files with 47 additions and 44 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ package benchmark_test
import (
"compress/gzip"
"encoding/json"
"io/ioutil"
"io"
"os"
"path/filepath"
"testing"
@@ -74,7 +74,7 @@ func fixture(tb testing.TB, path string) []byte {
gz, err := gzip.NewReader(f)
assert.NoError(tb, err)
buf, err := ioutil.ReadAll(gz)
buf, err := io.ReadAll(gz)
assert.NoError(tb, err)
return buf
}