summaryrefslogtreecommitdiffstats
path: root/hugolib/shortcode_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-07-21 22:30:10 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-07-21 22:30:10 +0200
commit4d4da001a0595d2d6e89492c6ed21c993aa37289 (patch)
tree087dc863064dff82db0d5a8b604ac4b0589bc71c /hugolib/shortcode_test.go
parent39a452a4c7bc4705af455d1dd2a77c6cd56bf96d (diff)
Fix broken shortcode test
See #2249
Diffstat (limited to 'hugolib/shortcode_test.go')
-rw-r--r--hugolib/shortcode_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/shortcode_test.go b/hugolib/shortcode_test.go
index 9e12045c3..85cfdcbc2 100644
--- a/hugolib/shortcode_test.go
+++ b/hugolib/shortcode_test.go
@@ -153,7 +153,7 @@ func TestNestedNamedMissingParam(t *testing.T) {
CheckShortCodeMatch(t,
`{{% acc %}}{{% div %}}d1{{% /div %}}{{% div2 %}}d2{{% /div2 %}}{{% /acc %}}`,
- "<div class=\"acc1\"><div></div>\n</div>", tem)
+ "<div class=\"acc\"><div >d1</div><div >d2</div>\n</div>", tem)
}
func TestIsNamedParamsSC(t *testing.T) {