diff options
-rw-r--r-- | hugofs/language_fs_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hugofs/language_fs_test.go b/hugofs/language_fs_test.go index c86d5158c..52e8dc9de 100644 --- 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 |