We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb24c02 commit 6c7e1f7Copy full SHA for 6c7e1f7
site/site_test.go
@@ -7,7 +7,6 @@ import (
7
"io"
8
"net/http"
9
"net/http/httptest"
10
- "os"
11
"strings"
12
"testing"
13
"testing/fstest"
@@ -176,15 +175,6 @@ func TestShouldCacheFile(t *testing.T) {
176
175
}
177
178
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
-
188
func TestServingBin(t *testing.T) {
189
t.Parallel()
190
0 commit comments