aboutsummaryrefslogtreecommitdiff
path: root/core/assets/path_test.go
blob: 6f2c0bfb74cd27514db87ab903ac866bc53fbc3a (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 .coredns folder, got: %v", actual)
	}
}