From e1ddf6048c99f5c81352eb04a84edc0669c4320b Mon Sep 17 00:00:00 2001 From: Chris Jerdonek Date: Thu, 24 May 2012 17:12:31 -0700 Subject: Simplify issue #48 test case to be minimal. --- specs/interpolation.yml | 8 +++++--- 1 file 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 -- cgit v1.2.1