coredns/core/assets/path_test.go
2016-03-18 20:57:35 +00:00

12 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)
}
}