diff options
Diffstat (limited to 'core/assets/path_test.go')
-rw-r--r-- | core/assets/path_test.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/assets/path_test.go b/core/assets/path_test.go new file mode 100644 index 000000000..374f813af --- /dev/null +++ b/core/assets/path_test.go @@ -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) + } +} |