Skip to content

Commit

Permalink
also leverage defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
syntaqx committed Jan 15, 2019
1 parent ea4f858 commit 25edc1e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions serve_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 25edc1e

Please sign in to comment.