caddy/caddy/assets/path_test.go
2015-10-27 12:53:31 -06:00

13 lines
213 B
Go

package assets
import (
"strings"
"testing"
)
func TestPath(t *testing.T) {
if actual := Path(); !strings.HasSuffix(actual, ".caddy") {
t.Errorf("Expected path to be a .caddy folder, got: %v", actual)
}
}