aboutsummaryrefslogtreecommitdiff
path: root/utils/fileutils_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'utils/fileutils_test.go')
-rw-r--r--utils/fileutils_test.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/utils/fileutils_test.go b/utils/fileutils_test.go
deleted file mode 100644
index 176d856..0000000
--- a/utils/fileutils_test.go
+++ /dev/null
@@ -1,15 +0,0 @@
-package utils
-
-import (
- "path/filepath"
- "testing"
-)
-
-func TestTrimTrailingSeparator(t *testing.T) {
- if TrimTrailingSeparator("test"+string(filepath.Separator)) != "test" {
- t.Error("Seprator should have been trimmed")
- }
- if TrimTrailingSeparator("test") != "test" {
- t.Error("Path should not have changed")
- }
-}