mirror of
https://github.com/gohugoio/hugo.git
synced 2025-05-06 02:36:21 +03:00
parent
32471b57bd
commit
d90e37e0c6
442 changed files with 1426 additions and 2254 deletions
|
@ -123,7 +123,6 @@ p3 = "p3params_no_production"
|
|||
noMenus := cfg.Get("languages.no.menus.docs")
|
||||
c.Assert(noMenus, qt.Not(qt.IsNil))
|
||||
c.Assert(len(noMenus.(([]map[string]interface{}))), qt.Equals, 1)
|
||||
|
||||
}
|
||||
|
||||
func TestLoadConfigDirError(t *testing.T) {
|
||||
|
@ -150,5 +149,4 @@ baseURL = "https://example.org"
|
|||
fe := herrors.UnwrapErrorWithFileContext(err)
|
||||
c.Assert(fe, qt.Not(qt.IsNil))
|
||||
c.Assert(fe.Position().Filename, qt.Equals, filepath.FromSlash("config/development/config.toml"))
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue