mirror of
https://github.com/coredns/coredns.git
synced 2025-11-02 02:03:13 -05:00
First commit
This commit is contained in:
12
core/assets/path_test.go
Normal file
12
core/assets/path_test.go
Normal file
@@ -0,0 +1,12 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user