github.com/motyar/up@v0.2.10/config/errorpages_test.go (about)

     1  package config
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/tj/assert"
     7  )
     8  
     9  func TestErrorPages(t *testing.T) {
    10  	c := &ErrorPages{}
    11  	assert.NoError(t, c.Default(), "default")
    12  	assert.Equal(t, ".", c.Dir, "dir")
    13  }