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:
Fabien Potencier
2026-01-08 19:56:46 +01:00
@@ -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