Skip to content

Commit 25edc1e

Browse files
committed
also leverage defaults
1 parent ea4f858 commit 25edc1e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

serve_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ import (
88
"github.com/stretchr/testify/assert"
99
)
1010

11+
func TestFileServerDefaults(t *testing.T) {
12+
fs := NewFileServer()
13+
_ = fs
14+
}
15+
1116
func TestFileServerOptions(t *testing.T) {
1217
fs := NewFileServer(Options{Directory: "test"})
1318
_ = fs

0 commit comments

Comments
 (0)