mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-12 18:36:53 +00:00
removed unneeded usage of spaceless in tests
This commit is contained in:
@@ -8,7 +8,6 @@ block_expr
|
||||
{{- parent() -}}
|
||||
{% endblock %}
|
||||
--TEMPLATE(base.twig)--
|
||||
{% spaceless %}
|
||||
{% block element -%}
|
||||
<div>
|
||||
{%- if item.children is defined %}
|
||||
@@ -18,7 +17,6 @@ block_expr
|
||||
{%- endif -%}
|
||||
</div>
|
||||
{%- endblock %}
|
||||
{% endspaceless %}
|
||||
--DATA--
|
||||
return [
|
||||
'item' => [
|
||||
|
||||
@@ -10,7 +10,6 @@ block_expr2
|
||||
--TEMPLATE(base2.twig)--
|
||||
{% extends "base.twig" %}
|
||||
--TEMPLATE(base.twig)--
|
||||
{% spaceless %}
|
||||
{% block element -%}
|
||||
<div>
|
||||
{%- if item.children is defined %}
|
||||
@@ -20,7 +19,6 @@ block_expr2
|
||||
{%- endif -%}
|
||||
</div>
|
||||
{%- endblock %}
|
||||
{% endspaceless %}
|
||||
--DATA--
|
||||
return [
|
||||
'item' => [
|
||||
|
||||
Reference in New Issue
Block a user