1
0
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:
Alexander Medvednikov
2022-04-15 14:58:56 +03:00
parent b49d873217
commit d4a0d6f73c
221 changed files with 1365 additions and 1365 deletions

View File

@ -767,9 +767,9 @@ fn test_long_query() {
base_string := rand.string(test_len)
for c in base_string {
buf.write_byte(`(`)
buf.write_byte(c)
buf.write_byte(`)`)
buf.write_u8(`(`)
buf.write_u8(c)
buf.write_u8(`)`)
}
mut query := buf.str()
@ -786,11 +786,11 @@ fn test_long_query() {
// test 2
buf.clear()
for c in base_string {
buf.write_byte(`(`)
buf.write_byte(c)
buf.write_u8(`(`)
buf.write_u8(c)
}
for _ in 0..base_string.len {
buf.write_byte(`)`)
buf.write_u8(`)`)
}
query = buf.str()
re = regex.regex_opt(query) or { panic(err) }