test public directly
parent
324d4f430e
commit
9686d1c7dd
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue