mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-29 07:00:31 +03:00
parent
4a366fcfee
commit
5a52cd5f92
4 changed files with 5 additions and 5 deletions
|
@ -88,7 +88,7 @@ func TestJsonify(t *testing.T) {
|
|||
v interface{}
|
||||
expect interface{}
|
||||
}{
|
||||
{[]string{"a", "b"}, template.HTML(`["a","b"]`)},
|
||||
{[]string{"a", "b"}, template.HTML("[\n \"a\",\n \"b\"\n]")},
|
||||
{tstNoStringer{}, template.HTML("{}")},
|
||||
{nil, template.HTML("null")},
|
||||
// errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue