diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-09-22 21:15:29 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-09-22 21:15:29 +0200 |
commit | 3ffc6cb0218ecd1868efdb76a4930925097da190 (patch) | |
tree | 1702a13f4daeda6d0c8f321125bfc428a3d2817d /utils/fileutils_test.go | |
parent | 237f6af4dc74183cf76898ff8f471ab3cb786116 (diff) | |
download | dna-backup-3ffc6cb0218ecd1868efdb76a4930925097da190.tar.gz dna-backup-3ffc6cb0218ecd1868efdb76a4930925097da190.zip |
rename and remove unused utils
Diffstat (limited to 'utils/fileutils_test.go')
-rw-r--r-- | utils/fileutils_test.go | 15 |
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") - } -} |