projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0013bea
)
hugofs: Fix filepath issue in test
author
Cameron Moore
<moorereason@gmail.com>
Fri, 7 Sep 2018 01:52:20 +0000
(20:52 -0500)
committer
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Fri, 7 Sep 2018 06:25:51 +0000
(08:25 +0200)
hugofs/language_fs_test.go
patch
|
blob
|
history
diff --git
a/hugofs/language_fs_test.go
b/hugofs/language_fs_test.go
index c86d5158c00d57fbf5a01401ccb3e89a47a0360e..52e8dc9de7450e8ed263740a2b454208b61a6238 100644
(file)
--- a/
hugofs/language_fs_test.go
+++ b/
hugofs/language_fs_test.go
@@
-50,10
+50,9
@@
func TestLanguagFs(t *testing.T) {
assert.Equal("page.sv.md", lfi.virtualName)
assert.Equal("__hugofs_sv_page.md", lfi.Name())
assert.Equal("page.md", lfi.RealName())
- assert.Equal(
"/my/base"
, lfi.BaseDir())
+ assert.Equal(
filepath.FromSlash("/my/base")
, lfi.BaseDir())
assert.Equal("sv", lfi.Lang())
assert.Equal("page", lfi.TranslationBaseName())
-
}
// Issue 4559