Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adding test for str split method
  • Loading branch information
kellrott committed May 17, 2019
commit cd235f28f70c68330c7e1b859bdea8e673f54394
3 changes: 3 additions & 0 deletions py/tests/string.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ class C():
asc="hello"
uni="£100世界𠜎" # 1,2,3,4 byte unicode characters

doc="split"
assert 4 == len(list("0,1,2,4".split(",")))
Comment thread
ncw marked this conversation as resolved.
Outdated

doc="ascii len"
assert len(asc) == 5

Expand Down