mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 14:10:31 +03:00
parent
423594e03a
commit
b80853de90
342 changed files with 2118 additions and 2102 deletions
|
@ -88,7 +88,7 @@ func doTestSitemapOutput(t *testing.T, internal bool) {
|
|||
func TestParseSitemap(t *testing.T) {
|
||||
t.Parallel()
|
||||
expected := config.Sitemap{Priority: 3.0, Filename: "doo.xml", ChangeFreq: "3"}
|
||||
input := map[string]interface{}{
|
||||
input := map[string]any{
|
||||
"changefreq": "3",
|
||||
"priority": 3.0,
|
||||
"filename": "doo.xml",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue