From 3ffc6cb0218ecd1868efdb76a4930925097da190 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Wed, 22 Sep 2021 21:15:29 +0200 Subject: rename and remove unused utils --- utils/fileutils_test.go | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 utils/fileutils_test.go (limited to 'utils/fileutils_test.go') 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") - } -} -- cgit v1.2.3