Fix broken shortcode test - hugo - [fork] hugo port for 9front
(HTM) git clone git@git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit 4d4da001a0595d2d6e89492c6ed21c993aa37289
(DIR) parent 39a452a4c7bc4705af455d1dd2a77c6cd56bf96d
(HTM) Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Thu, 21 Jul 2016 22:30:10 +0200
Fix broken shortcode test
See #2249
Diffstat:
M hugolib/shortcode_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git 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) {