From 25edc1ee5ba978f4509b8d4efd0721bf9038741f Mon Sep 17 00:00:00 2001 From: Chase Hutchins Date: Tue, 15 Jan 2019 00:46:14 -0700 Subject: [PATCH] also leverage defaults --- serve_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/serve_test.go b/serve_test.go index d0cbf3b..79a760d 100644 --- a/serve_test.go +++ b/serve_test.go @@ -8,6 +8,11 @@ import ( "github.com/stretchr/testify/assert" ) +func TestFileServerDefaults(t *testing.T) { + fs := NewFileServer() + _ = fs +} + func TestFileServerOptions(t *testing.T) { fs := NewFileServer(Options{Directory: "test"}) _ = fs