Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions specs/parser_errors/assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@
template: "{% assign x = x | x : [0] %}"
errors:
parse_error:
- Bare bracket access is not allowed in strict2 mode. Use self['...'] instead
- Bare bracket access is not allowed. Use self['...'] instead
complexity: 100
- name: assign-mut-filter_first_arg-close_round-004
template: "{% assign x = x | x : ) %}"
Expand Down Expand Up @@ -1155,7 +1155,7 @@
template: "{% assign x = [0] %}"
errors:
parse_error:
- Bare bracket access is not allowed in strict2 mode. Use self['...'] instead
- Bare bracket access is not allowed. Use self['...'] instead
complexity: 100
- name: assign-mut-value-close_round-004
template: "{% assign x = ) %}"
Expand Down
4 changes: 2 additions & 2 deletions specs/parser_errors/case.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
template: "{% case [0] %}{% endcase %}"
errors:
parse_error:
- Bare bracket access is not allowed in strict2 mode. Use self['...'] instead
- Bare bracket access is not allowed. Use self['...'] instead
complexity: 100
- name: case-mut-case_expression-close_round-004
template: "{% case ) %}{% endcase %}"
Expand Down Expand Up @@ -627,7 +627,7 @@
template: "{% case x %}{% when [0] %}{% endcase %}"
errors:
parse_error:
- Bare bracket access is not allowed in strict2 mode. Use self['...'] instead
- Bare bracket access is not allowed. Use self['...'] instead
complexity: 100
- name: case-mut-when_value-close_round-004
template: "{% case x %}{% when ) %}{% endcase %}"
Expand Down
4 changes: 2 additions & 2 deletions specs/parser_errors/cycle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@
template: "{% cycle x : [0] %}"
errors:
parse_error:
- Bare bracket access is not allowed in strict2 mode. Use self['...'] instead
- Bare bracket access is not allowed. Use self['...'] instead
complexity: 100
- name: cycle-mut-first_cycle_value-close_round-004
template: "{% cycle x : ) %}"
Expand Down Expand Up @@ -765,7 +765,7 @@
template: "{% cycle [0] %}"
errors:
parse_error:
- Bare bracket access is not allowed in strict2 mode. Use self['...'] instead
- Bare bracket access is not allowed. Use self['...'] instead
complexity: 100
- name: cycle-mut-first_value-close_round-004
template: "{% cycle ) %}"
Expand Down
4 changes: 2 additions & 2 deletions specs/parser_errors/echo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@
template: "{% echo x | x : [0] %}"
errors:
parse_error:
- Bare bracket access is not allowed in strict2 mode. Use self['...'] instead
- Bare bracket access is not allowed. Use self['...'] instead
complexity: 100
- name: echo-mut-filter_first_arg-close_round-004
template: "{% echo x | x : ) %}"
Expand Down Expand Up @@ -861,7 +861,7 @@
template: "{% echo [0] %}"
errors:
parse_error:
- Bare bracket access is not allowed in strict2 mode. Use self['...'] instead
- Bare bracket access is not allowed. Use self['...'] instead
complexity: 100
- name: echo-mut-value-close_round-004
template: "{% echo ) %}"
Expand Down
2 changes: 1 addition & 1 deletion specs/parser_errors/for.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
template: "{% for x in [0] %}{% endfor %}"
errors:
parse_error:
- Bare bracket access is not allowed in strict2 mode. Use self['...'] instead
- Bare bracket access is not allowed. Use self['...'] instead
complexity: 100
- name: for-mut-collection-close_round-004
template: "{% for x in ) %}{% endfor %}"
Expand Down
4 changes: 2 additions & 2 deletions specs/parser_errors/if.yml
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@
template: "{% if x == [0] %}{% endif %}"
errors:
parse_error:
- Bare bracket access is not allowed in strict2 mode. Use self['...'] instead
- Bare bracket access is not allowed. Use self['...'] instead
complexity: 100
- name: if-mut-comparison_rhs-close_round-004
template: "{% if x == ) %}{% endif %}"
Expand Down Expand Up @@ -753,7 +753,7 @@
template: "{% if [0] %}{% endif %}"
errors:
parse_error:
- Bare bracket access is not allowed in strict2 mode. Use self['...'] instead
- Bare bracket access is not allowed. Use self['...'] instead
complexity: 100
- name: if-mut-condition-close_round-004
template: "{% if ) %}{% endif %}"
Expand Down
4 changes: 2 additions & 2 deletions specs/parser_errors/include.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
template: "{% include x for [0] %}"
errors:
parse_error:
- Bare bracket access is not allowed in strict2 mode. Use self['...'] instead
- Bare bracket access is not allowed. Use self['...'] instead
complexity: 100
- name: include-mut-binding_value-close_round-004
template: "{% include x for ) %}"
Expand Down Expand Up @@ -723,7 +723,7 @@
template: "{% include [0] %}"
errors:
parse_error:
- Bare bracket access is not allowed in strict2 mode. Use self['...'] instead
- Bare bracket access is not allowed. Use self['...'] instead
complexity: 100
- name: include-mut-template_expr-close_round-004
template: "{% include ) %}"
Expand Down
4 changes: 2 additions & 2 deletions specs/parser_errors/render.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
template: "{% render 'snippet' for [0] %}"
errors:
parse_error:
- Bare bracket access is not allowed in strict2 mode. Use self['...'] instead
- Bare bracket access is not allowed. Use self['...'] instead
complexity: 100
- name: render-mut-binding_value-close_round-004
template: "{% render 'snippet' for ) %}"
Expand Down Expand Up @@ -723,5 +723,5 @@
template: "{% render %}"
errors:
parse_error:
- Syntax error in tag 'render' - Expected a string or identifier, found nothing
- Expected string but found end_of_string
complexity: 100
2 changes: 1 addition & 1 deletion specs/parser_errors/table_row.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
template: "{% tablerow x in [0] %}{% endtablerow %}"
errors:
parse_error:
- Bare bracket access is not allowed in strict2 mode. Use self['...'] instead
- Bare bracket access is not allowed. Use self['...'] instead
complexity: 100
- name: table_row-mut-collection-close_round-004
template: "{% tablerow x in ) %}{% endtablerow %}"
Expand Down
4 changes: 2 additions & 2 deletions specs/parser_errors/unless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@
template: "{% unless x == [0] %}{% endunless %}"
errors:
parse_error:
- Bare bracket access is not allowed in strict2 mode. Use self['...'] instead
- Bare bracket access is not allowed. Use self['...'] instead
complexity: 100
- name: unless-mut-comparison_rhs-close_round-004
template: "{% unless x == ) %}{% endunless %}"
Expand Down Expand Up @@ -753,7 +753,7 @@
template: "{% unless [0] %}{% endunless %}"
errors:
parse_error:
- Bare bracket access is not allowed in strict2 mode. Use self['...'] instead
- Bare bracket access is not allowed. Use self['...'] instead
complexity: 100
- name: unless-mut-condition-close_round-004
template: "{% unless ) %}{% endunless %}"
Expand Down
4 changes: 2 additions & 2 deletions specs/parser_errors/variable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@
template: "{{ x | x : [0] }}"
errors:
parse_error:
- Bare bracket access is not allowed in strict2 mode. Use self['...'] instead
- Bare bracket access is not allowed. Use self['...'] instead
complexity: 100
- name: variable-mut-filter_first_arg-close_round-004
template: "{{ x | x : ) }}"
Expand Down Expand Up @@ -861,7 +861,7 @@
template: "{{ [0] }}"
errors:
parse_error:
- Bare bracket access is not allowed in strict2 mode. Use self['...'] instead
- Bare bracket access is not allowed. Use self['...'] instead
complexity: 100
- name: variable-mut-value-close_round-004
template: "{{ ) }}"
Expand Down
Loading