summaryrefslogtreecommitdiffstats
path: root/helpers/path_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/path_test.go')
-rw-r--r--helpers/path_test.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/helpers/path_test.go b/helpers/path_test.go
index 3fdb94a4f..5cf863b6c 100644
--- a/helpers/path_test.go
+++ b/helpers/path_test.go
@@ -17,6 +17,10 @@ import (
)
func TestMakePath(t *testing.T) {
+ viper.Reset()
+ defer viper.Reset()
+ viper.Set("RemovePathAccents", true)
+
tests := []struct {
input string
expected string
@@ -717,7 +721,7 @@ func TestGetTempDir(t *testing.T) {
{testDir + "FOo/BaR.html", dir + testDir + "FOo/BaR.html" + FilePathSeparator},
{testDir + "трям/трям", dir + testDir + "трям/трям" + FilePathSeparator},
{testDir + "은행", dir + testDir + "은행" + FilePathSeparator},
- {testDir + "Банковский кассир", dir + testDir + "Банковскии-кассир" + FilePathSeparator},
+ {testDir + "Банковский кассир", dir + testDir + "Банковский-кассир" + FilePathSeparator},
}
for _, test := range tests {