Skip to content

Commit c198ed6

Browse files
committed
Documented split() corner-case
1 parent 739f051 commit c198ed6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/compliance/string_functions.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
{ "expression": "pad_right('string', `10`, '-')", "result": "string----" },
102102

103103
{ "expression": "split('/', '/')", "result": [ "", "" ] },
104+
{ "expression": "split('', '')", "result": [ ] },
104105
{ "expression": "split('all chars', '')", "result": [ "a", "l", "l", " ", "c", "h", "a", "r", "s" ] },
105106
{ "expression": "split('all chars', '', `3`)", "result": [ "a", "l", "l", " chars" ] },
106107

0 commit comments

Comments
 (0)