diff --git a/tests/handlebars/block-statement/__snapshots__/jsfmt.spec.js.snap b/tests/handlebars/block-statement/__snapshots__/jsfmt.spec.js.snap index 687cd576e..1f547ce27 100644 --- a/tests/handlebars/block-statement/__snapshots__/jsfmt.spec.js.snap +++ b/tests/handlebars/block-statement/__snapshots__/jsfmt.spec.js.snap @@ -484,6 +484,12 @@ singleQuote: true c {{/if}} +{{~#if someCondition~}} + One thing +{{~else if anotherCondition~}} + Another thing +{{~/if~}} + =====================================output=====================================

{{#if isAtWork}} @@ -593,6 +599,12 @@ singleQuote: true b c {{/if}} + +{{~#if someCondition~}} + One thing +{{~else if anotherCondition~}} + Another thing +{{~/if~}} ================================================================================ `; @@ -705,6 +717,12 @@ printWidth: 80 c {{/if}} +{{~#if someCondition~}} + One thing +{{~else if anotherCondition~}} + Another thing +{{~/if~}} + =====================================output=====================================

{{#if isAtWork}} @@ -814,6 +832,12 @@ printWidth: 80 b c {{/if}} + +{{~#if someCondition~}} + One thing +{{~else if anotherCondition~}} + Another thing +{{~/if~}} ================================================================================ `; diff --git a/tests/handlebars/block-statement/if-else.hbs b/tests/handlebars/block-statement/if-else.hbs index 350252fca..f8594ea34 100644 --- a/tests/handlebars/block-statement/if-else.hbs +++ b/tests/handlebars/block-statement/if-else.hbs @@ -100,3 +100,9 @@ b c {{/if}} + +{{~#if someCondition~}} + One thing +{{~else if anotherCondition~}} + Another thing +{{~/if~}}