mirror of
https://github.com/vlang/v.git
synced 2025-09-16 07:52:32 +03:00
parent
5cf4b5ed4f
commit
6eae77b61e
2 changed files with 64 additions and 2 deletions
|
@ -921,6 +921,7 @@ fn test_trim() {
|
|||
assert 'banana'.trim('bna') == ''
|
||||
assert 'abc'.trim('ac') == 'b'
|
||||
assert 'aaabccc'.trim('ac') == 'b'
|
||||
assert 'あいうえお'.trim('あい') == 'うえお'
|
||||
}
|
||||
|
||||
fn test_trim_indexes() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue