diff --git a/test/expect/conditional_if.html b/test/expect/conditional_if.html index b9a79e5..13822f5 100644 --- a/test/expect/conditional_if.html +++ b/test/expect/conditional_if.html @@ -2,3 +2,6 @@

it works!

x

+ +

x

+

x

\ No newline at end of file diff --git a/test/fixtures/conditional_if.html b/test/fixtures/conditional_if.html index 2bae958..2969f8f 100644 --- a/test/fixtures/conditional_if.html +++ b/test/fixtures/conditional_if.html @@ -3,3 +3,9 @@

it works!

x

+ +

x

+ +

it works!

+
+

x

diff --git a/test/test-conditionals.js b/test/test-conditionals.js index ac6c4c4..b358578 100644 --- a/test/test-conditionals.js +++ b/test/test-conditionals.js @@ -42,7 +42,7 @@ test('Conditionals', (t) => { }) test('Conditionals - only "if" condition', (t) => { - return process(t, 'conditional_if', { locals: { foo: 'bar' } }) + return process(t, 'conditional_if', { locals: { foo: 'bar', bool: '' } }) }) test('Conditionals - no render', (t) => {