mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
strings: builder: add clear (#14328)
This commit is contained in:
parent
b04d46770b
commit
aef95721a4
4 changed files with 11 additions and 9 deletions
|
@ -40,6 +40,8 @@ fn test_sb() {
|
|||
final_sb := sb.str()
|
||||
assert final_sb == '1234'
|
||||
//}
|
||||
sb.clear()
|
||||
assert sb.str() == ''
|
||||
}
|
||||
|
||||
fn test_big_sb() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue