mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-18 13:26:37 +00:00
minor #4730 Fix intl-extra tests (Jean-Beru)
This PR was merged into the 3.x branch.
Discussion
----------
Fix intl-extra tests
Fix CI since `Scripts::getNames()` returns 4 new values. It just tests if the value is an array to limit maintenance on future updates.
Commits
-------
683adc550f Fix intl-extra tests
This commit is contained in:
@@ -2,15 +2,15 @@
|
||||
"script_names" function
|
||||
--TEMPLATE--
|
||||
{{ script_names('UNKNOWN')|length }}
|
||||
{{ script_names()|length }}
|
||||
{{ script_names('fr')|length }}
|
||||
{{ script_names() is iterable }}
|
||||
{{ script_names('fr') is iterable }}
|
||||
{{ script_names()['Marc'] }}
|
||||
{{ script_names('fr')['Marc'] }}
|
||||
--DATA--
|
||||
return [];
|
||||
--EXPECT--
|
||||
0
|
||||
208
|
||||
208
|
||||
1
|
||||
1
|
||||
Marchen
|
||||
Marchen
|
||||
|
||||
Reference in New Issue
Block a user