From 1cf36d6aaacba0cff2c5ecdbaa554e933e345653 Mon Sep 17 00:00:00 2001 From: Julian Gonggrijp Date: Sat, 10 Jul 2021 03:13:55 +0200 Subject: [PATCH] Add block indentation specs (#130) --- specs/~inheritance.yml | 69 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/specs/~inheritance.yml b/specs/~inheritance.yml index 5a24ba8..d3b3acd 100644 --- a/specs/~inheritance.yml +++ b/specs/~inheritance.yml @@ -235,3 +235,72 @@ tests: partials: parent: "{{#nested}}{{$block}}You say {{fruit}}.{{/block}}{{/nested}}" expected: I say bananas. + + - name: Standalone parent + desc: A parent's opening and closing tags need not be on separate lines in order to be standalone + data: {} + template: | + Hi, + {{