Error in splita/splitax when field contains a single non-string value (#1629)

This commit is contained in:
John Kerl 2024-08-25 19:00:24 -04:00 committed by GitHub
parent 73e2117b43
commit f33c0b2cd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 12 deletions

View file

@ -1,4 +0,0 @@
[3, 4, 5]
[3, 4]
[3]
[]

View file

@ -1,6 +1,7 @@
end {
test/cases/dsl-split-join/0021/mlrend {
print splita("3,4,5", ",");
print splita("3,4", ",");
print splita("3", ",");
print splita(3, ",");
print splita("", ",");
}