summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--specs/interpolation.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/specs/interpolation.yml b/specs/interpolation.yml
index d5f2c0d..1b6fff1 100644
--- a/specs/interpolation.yml
+++ b/specs/interpolation.yml
@@ -173,9 +173,11 @@ tests:
- name: Dotted Names - Context Precedence
desc: Dotted names should be resolved against former resolutions.
- data: { a: { b: 'b found: ERROR' }, c: { a: 'b not found'} }
- template: '{{#c}}"{{a}}" : "{{a.b}}"{{/c}}'
- expected: '"b not found" : ""'
+ data:
+ a: { b: { } }
+ b: { c: 'ERROR' }
+ template: '{{#a}}{{b.c}}{{/a}}'
+ expected: ''
# Whitespace Sensitivity