o
    .d                     @   s  d Z ddlmZ eddg ddddd	iid
eddg ddddd	iid
eddg ddddd	iid
eddg ddddd	iid
eddg ddi d
eddg ddi d
eddg ddi d
eddg ddi d
eddg d di d
ed!dg d"d#i d
ed$dg d%d#i d
ed&dg d'd(i d
ed)dg d*di d
ed+dg d,di d
ed-dg d.d/i d
ed0dd1d2gd3i d
gZd4S )5z9Golden tests cases for testing liquid whitespace control.    )Casez,white space control with newlines and spaces )z
{% if customer -%}
z,Welcome back,  {{ customer.first_name -}} !
 {%- endif -%}z
Welcome back,  Holly!customer
first_nameHolly)descriptiontemplateexpectglobalsz3white space control with carriage return and spaces)z{% if customer -%}z,Welcome back,  {{ customer.first_name -}} !r   zWelcome back,  Holly!z=white space control with  carriage return, newline and spaces)z
{% if customer -%}
z-Welcome back,  {{ customer.first_name -}} !
r   z
Welcome back,  Holly!z2white space control with newlines, tabs and spaces)z
	{% if customer -%}	
z.Welcome back,  {{ customer.first_name -}}	 !
r   z
	Welcome back,  Holly!z"suppress whitespace only if blocks
)!{% if true %}r   {% assign bar = 'foo' %}{% if true %}r   r       {% assign foo = 'bar' %}r   {% endif %}r   r   {% endif %}!z!!z&suppress whitespace only unless blocks)!{% unless false %}r   r   {% unless false %}r   r   r   r   {% endunless %}r   r   {% endunless %}!z$suppress whitespace only case blocks)!{% assign x = 1 %}{% case x %}r     {% when 1 %}r   r   r   {% endcase %}!z7don't suppress whitespace only blocks containing output)
r   r   r       {{ '' }}r   r   r   r   r   r   z!


    

    



!z5don't suppress whitespace only blocks containing echo)
r   r   r   z    {% echo '' %}r   r   r   r   r   r   zGdon't suppress whitespace only blocks containing output in nested block)!{% if 1 %}r   r   z
{% if 2 %}r   r   r   r   r   r   r   r   z!



    

    




!zOdon't suppress whitespace only unless blocks containing output in nested blocks)r   r   r   r   r   r   r   r   r   r   r   r   zMdon't suppress whitespace only blocks containing output in unreachable blocks)r   r   r   r   r   r   r   z
{% else %}r   r   r   r   r   z!




    




!z6suppress whitespace surrounding an empty capture block)r   r   z!{% capture foo %}{% endcapture %}r   r   z/suppress whitespace surrounding a capture block)r   r   z{% capture foo %}z{{ '' }}z{% endcapture %}r   r   z<don't suppress whitespace only case blocks containing output)	r   r   r   r   r   z  {% when 2 %}r   r   r   z!
    

  !z!white space control with raw tagsz%! {% raw %}{{ hello }}{% endraw %} !
z(! {%- raw -%}{{ hello }}{%- endraw -%} !z! {{ hello }} !
!{{ hello }}!N)__doc__liquid.golden.caser   joincases r    r    X/var/www/Matress/matenv/lib/python3.10/site-packages/liquid/golden/whitespace_control.py<module>   s   



	  