mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: byte => u8
This commit is contained in:
@@ -65,7 +65,7 @@ fn test_byte_write() {
|
||||
temp_str := 'byte testing'
|
||||
mut count := 0
|
||||
for word in temp_str {
|
||||
sb.write_byte(word)
|
||||
sb.write_u8(word)
|
||||
count++
|
||||
assert count == sb.len
|
||||
}
|
||||
|
Reference in New Issue
Block a user