summaryrefslogtreecommitdiffstats
path: root/helpers/path_test.go
diff options
context:
space:
mode:
authorSteve Francia <steve.francia@gmail.com>2015-12-08 16:41:36 -0500
committerSteve Francia <steve.francia@gmail.com>2015-12-08 16:46:43 -0500
commit6042fc2b83453ee92a3585848fdcac1a617bcb95 (patch)
tree10871c4a55480f56f1ebb2dab8213c240f56a3de /helpers/path_test.go
parentde14ceecc9dd23e6924f3649eba0de7d7fb5d2e0 (diff)
move some of the path helper utilities to afero
and provide wrappers in Hugo.
Diffstat (limited to 'helpers/path_test.go')
-rw-r--r--helpers/path_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/path_test.go b/helpers/path_test.go
index a1d897df9..6a3d58053 100644
--- a/helpers/path_test.go
+++ b/helpers/path_test.go
@@ -755,13 +755,13 @@ func TestGetTempDir(t *testing.T) {
expected string
}{
{"", dir},
- {testDir + " Foo bar ", dir + testDir + "--Foo-bar" + FilePathSeparator},
+ {testDir + " Foo bar ", dir + testDir + " Foo bar " + FilePathSeparator},
{testDir + "Foo.Bar/foo_Bar-Foo", dir + testDir + "Foo.Bar/foo_Bar-Foo" + FilePathSeparator},
- {testDir + "fOO,bar:foo%bAR", dir + testDir + "fOObarfoobAR" + FilePathSeparator},
+ {testDir + "fOO,bar:foo%bAR", dir + testDir + "fOObarfoo%bAR" + FilePathSeparator},
{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 {