mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-30 01:43:32 -05:00
hugolib: Minor Go vet fix
This commit is contained in:
parent
99fbc75e7a
commit
2ea242d5fe
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue