Skip to content

Commit 6c7e1f7

Browse files
committed
chore: Remove unused function
1 parent fb24c02 commit 6c7e1f7

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

site/site_test.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"io"
88
"net/http"
99
"net/http/httptest"
10-
"os"
1110
"strings"
1211
"testing"
1312
"testing/fstest"
@@ -176,15 +175,6 @@ func TestShouldCacheFile(t *testing.T) {
176175
}
177176
}
178177

179-
func readFile(t *testing.T, name string) []byte {
180-
t.Helper()
181-
b, err := os.ReadFile(name)
182-
if err != nil {
183-
t.Fatal(err)
184-
}
185-
return b
186-
}
187-
188178
func TestServingBin(t *testing.T) {
189179
t.Parallel()
190180

0 commit comments

Comments
 (0)