mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
strings: rename Builder.write_b() to Builder.write_byte(), add deprecation (#13313)
This commit is contained in:
parent
7f22ed7935
commit
ceb05b163a
23 changed files with 100 additions and 88 deletions
|
@ -65,7 +65,7 @@ fn test_byte_write() {
|
|||
temp_str := 'byte testing'
|
||||
mut count := 0
|
||||
for word in temp_str {
|
||||
sb.write_b(word)
|
||||
sb.write_byte(word)
|
||||
count++
|
||||
assert count == sb.len
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue