summaryrefslogtreecommitdiffstats
path: root/tpl/encoding/encoding_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/encoding/encoding_test.go')
-rw-r--r--tpl/encoding/encoding_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/encoding/encoding_test.go b/tpl/encoding/encoding_test.go
index 8242561b6..fdb12e349 100644
--- a/tpl/encoding/encoding_test.go
+++ b/tpl/encoding/encoding_test.go
@@ -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