diff --git a/cmd/server/main_test.go b/cmd/server/main_test.go index 6ec8ee0..23971ad 100644 --- a/cmd/server/main_test.go +++ b/cmd/server/main_test.go @@ -41,3 +41,11 @@ func TestRunHTTP(t *testing.T) { } }) } + +func TestPublic(t *testing.T) { + f, err := public.Open("index.html") + if err != nil { + t.Fatal(err) + } + defer f.Close() +}