blob: 50e8841d98f0d8b016a4fcf0a001fdaac5940ac3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
package assets
import (
"strings"
"testing"
)
func TestPath(t *testing.T) {
if actual := Path(); !strings.HasSuffix(actual, ".coredns") {
t.Errorf("Expected path to be a .caddy folder, got: %v", actual)
}
}
|