From 4d6505fd966558c1bd0948847f68f38d8c952299 Mon Sep 17 00:00:00 2001 From: Julian Gonggrijp Date: Mon, 5 Jul 2021 16:13:50 +0200 Subject: Update JSON accordingly --- specs/~inheritance.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/specs/~inheritance.json b/specs/~inheritance.json index fedb34b..0a6878b 100644 --- a/specs/~inheritance.json +++ b/specs/~inheritance.json @@ -230,6 +230,21 @@ "parent": "{{$foo}}default content{{/foo}}" }, "expected": "default content" + }, + { + "name": "Block scope", + "desc": "Scope of a substituted block is evaluated in the context of the parent template", + "data": { + "fruit": "apples", + "nested": { + "fruit": "bananas" + } + }, + "template": "{{