Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit effeb08

Browse files
committed
[Bug 16407] com.livecode.typeconvert: Test splitting by empty
1 parent 1fbdf66 commit effeb08

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

tests/lcb/stdlib/typeconvert.lcb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,13 @@ public handler TestSplit()
2626
test "split (nul)" when the number of elements in tList is 3
2727
end handler
2828

29+
public handler TestSplitEmpty()
30+
-- Bug 16407
31+
variable tString
32+
variable tList
33+
put "security.selinux\u{0}user.test\u{0}user.uuid" into tString
34+
split tSTring by "" into tList
35+
test "split (empty)" when the number of elements in tList is 1
36+
end handler
37+
2938
end module

0 commit comments

Comments
 (0)