From 21696005cd9e5a3ea2150431df44fd13da2c405c Mon Sep 17 00:00:00 2001 From: Lon Ingram Date: Wed, 17 Aug 2016 13:36:16 -0500 Subject: Use XML-like tags in test instead of bizarre dot delimiters --- spec/partials.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/partials.js b/spec/partials.js index fcfc780..d6baba5 100644 --- a/spec/partials.js +++ b/spec/partials.js @@ -272,17 +272,17 @@ describe('partials', function() { }); it('should render nested partial blocks', function() { shouldCompileToWithPartials( - '.template-start.{{#> outer}}{{value}}{{/outer}}.template-end.', + '', [ {value: 'success'}, {}, { - outer: '.outer-start.{{#> nested}}.outer-partial-block-start.{{> @partial-block}}.outer-partial-block-end.{{/nested}}.outer-end.', - nested: '.nested-start.{{> @partial-block}}.nested-end.' + outer: '{{#> nested}}{{> @partial-block}}{{/nested}}', + nested: '{{> @partial-block}}' } ], true, - '.template-start..outer-start..nested-start..outer-partial-block-start.success.outer-partial-block-end..nested-end..outer-end..template-end.'); + ''); }); }); -- cgit v1.1