hugofs: Fix filepath issue in test

This commit is contained in:
Cameron Moore 2018-09-06 20:52:20 -05:00 committed by Bjørn Erik Pedersen
parent 0013bea901
commit d970327d7b

View file

@ -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