diff --git a/hugolib/shortcode_test.go b/hugolib/shortcode_test.go
index cd2d9f7a5..9e12045c3 100644
--- a/hugolib/shortcode_test.go
+++ b/hugolib/shortcode_test.go
@@ -149,9 +149,11 @@ func TestNestedNamedMissingParam(t *testing.T) {
tem := tpl.New()
tem.AddInternalShortcode("acc.html", `
{{ .Inner }}
`)
tem.AddInternalShortcode("div.html", `{{ .Inner }}
`)
+ tem.AddInternalShortcode("div2.html", `{{ .Inner }}
`)
+
CheckShortCodeMatch(t,
- `{{% acc %}}{{% div %}}{{% /div %}}{{% /acc %}}`,
- "", tem)
+ `{{% acc %}}{{% div %}}d1{{% /div %}}{{% div2 %}}d2{{% /div2 %}}{{% /acc %}}`,
+ "", tem)
}
func TestIsNamedParamsSC(t *testing.T) {