# The way this works is the following: # - each test case consists of a pair of lines separated by two new lines, # - the first line of each pair is "where you are", # - the second line of each pair is "what we expect the fix to be". # The █ character is used to represent the cursor position, and will # be parsed as a placeholder character # Lines that start by # are ignored as comments.
{% for item in list {% for item in list%} {% for item in list %} {% for item in list %} {% for item in list %}

{{ █ {% for item in list %}

{{ █}} {% for item in list %}

{{ item. {% for item in list %}

{{ item.█}} {% for item in list %}

{{ item[' {% for item in list %}

{{ item['█']}} {% for item in list %}

{{ item['key' {% for item in list %}

{{ item['key']}} {% for item in list %}

{{ item['key'] {% for item in list %}

{{ item['key']}} {% for item in list %}

{{ item['key'] }}

{% for item in list %}

{{ item['key'] }}

{% for item in list %}

{{ item['key'] }}

{% endfor █ {% for item in list %}

{{ item['key'] }}

{% endfor █%} {% for item in list %}

{{ item['key'] }}

{% endfor %} {% for item in list %}

{{ item['key'] }}

{% endfor %} {% for item in (1..a {% for item in (1..a)%} {% form "cart", {% form "cart",█%} {% if condition %} {% if condition %} {% if condition %}

{% if condition %}

{% if condition %}

Hello, world! {% if condition %}

Hello, world! {% if condition %}

Hello, world!

{% if condition %}

Hello, world!

# cursor is included because no way to tell if you didn't want another var {% if condition %}

Hello, world!

{% endif {% if condition %}

Hello, world!

{% endif █%} {% if condition %}

Hello, world!

{% endif %} {% if condition %}

Hello, world!

{% endif %} # this one looks at symbols that have meaning depending on context {% if a {% else > b %}Hello, world!{{ "don't {% if a {% else > b %}Hello, world!{{ "don't"}}