hugolib: Minor Go vet fix

This commit is contained in:
Bjørn Erik Pedersen 2017-02-19 10:33:28 +01:00
parent 99fbc75e7a
commit 2ea242d5fe

View file

@ -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)