Skip to content

Commit

Permalink
Test truthy and empty when block.
Browse files Browse the repository at this point in the history
  • Loading branch information
jg-rp committed Feb 19, 2024
1 parent 72f5604 commit cfea40c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions liquid/golden/case_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,4 +216,11 @@
globals={},
future=True,
),
Case(
description="truthy and empty when block before else",
template=(r"{% case 'x' %}{% when 'x' %}{% else %}bar{% endcase %}"),
expect="",
globals={},
future=True,
),
]

0 comments on commit cfea40c

Please sign in to comment.