blob: 10a606225a21f9d06ed793fee723f079b4be1439 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
When splitting a string, the existing uc_split() implementation failed
to produce an empty leading and trailing result array element when the
subject string started or ended with a delimitter.
-- Expect stdout --
[ "", "foo", "" ]
-- End --
-- Testcase --
{{ split("/foo/", "/") }}
-- End --
|