mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 10:56:38 +00:00
Remove issue references in tests
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
--TEST--
|
||||
#3321 block() resolves nested block() calls against the overriding template even when going through parent()
|
||||
--TEMPLATE--
|
||||
{{ block('block1', 'theme.html.twig') }}
|
||||
--TEMPLATE(theme.html.twig)--
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{%- block block1 -%}
|
||||
{{- parent() -}}
|
||||
BLOCK1THEME/
|
||||
{%- endblock -%}
|
||||
|
||||
{%- block block2 -%}
|
||||
BLOCK2THEME/
|
||||
{%- endblock -%}
|
||||
--TEMPLATE(base.html.twig)--
|
||||
{%- block block1 -%}
|
||||
BLOCK1BASE/
|
||||
{{- block('block2') -}}
|
||||
{%- endblock -%}
|
||||
|
||||
{%- block block2 -%}
|
||||
BLOCK2BASE/
|
||||
{%- endblock -%}
|
||||
--DATA--
|
||||
return []
|
||||
--EXPECT--
|
||||
BLOCK1BASE/BLOCK2THEME/BLOCK1THEME/
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
--TEST--
|
||||
#4701 Accessing arrays with stringable objects as key
|
||||
Accessing arrays with stringable objects as key
|
||||
--TEMPLATE--
|
||||
{% set hash = {
|
||||
'foo': 'FOO',
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
--TEST--
|
||||
#4029 When use_yield is true, CaptureNode fall in iterator_to_array pitfall regarding index overwrite
|
||||
When use_yield is true, CaptureNode fall in iterator_to_array pitfall regarding index overwrite
|
||||
--TEMPLATE--
|
||||
{%- set tmp -%}
|
||||
{%- block foo 'foo' -%}
|
||||
Reference in New Issue
Block a user