diff options
Diffstat (limited to 'hugofs/language_fs_test.go')
-rw-r--r-- | hugofs/language_fs_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hugofs/language_fs_test.go b/hugofs/language_fs_test.go index 060f59448..c86d5158c 100644 --- a/hugofs/language_fs_test.go +++ b/hugofs/language_fs_test.go @@ -50,6 +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("sv", lfi.Lang()) + assert.Equal("page", lfi.TranslationBaseName()) } |