mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user