mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 12:04:38 -04:00
parent
04a4a193a9
commit
53d07fb409
@ -685,6 +685,10 @@ title = "Svenska"
|
||||
require.Len(t, svPage.AllTranslations(), 3)
|
||||
require.Equal(t, "en", svPage.Translations()[0].Lang())
|
||||
|
||||
// Regular pages have no children
|
||||
require.Len(t, svPage.Pages, 0)
|
||||
require.Len(t, svPage.Data["Pages"], 0)
|
||||
|
||||
}
|
||||
|
||||
func TestChangeDefaultLanguage(t *testing.T) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user