mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
hugolib: Minor Go vet fix
This commit is contained in:
@@ -1380,7 +1380,6 @@ social:
|
|||||||
t.Parallel()
|
t.Parallel()
|
||||||
s := newTestSite(t)
|
s := newTestSite(t)
|
||||||
p, _ := s.NewPageFrom(strings.NewReader(exampleParams), "content/post/params.md")
|
p, _ := s.NewPageFrom(strings.NewReader(exampleParams), "content/post/params.md")
|
||||||
fmt.Println("%v", p.Params)
|
|
||||||
|
|
||||||
topLevelKeyValue, _ := p.Param("rating")
|
topLevelKeyValue, _ := p.Param("rating")
|
||||||
assert.Equal(t, "5 stars", topLevelKeyValue)
|
assert.Equal(t, "5 stars", topLevelKeyValue)
|
||||||
|
Reference in New Issue
Block a user