Files
coredns/core/assets/path_test.go

13 lines
215 B
Go
Raw Normal View History

2016-03-18 20:57:35 +00:00
package assets
import (
"strings"
"testing"
)
func TestPath(t *testing.T) {
if actual := Path(); !strings.HasSuffix(actual, ".coredns") {
2016-03-18 20:57:35 +00:00
t.Errorf("Expected path to be a .caddy folder, got: %v", actual)
}
}