mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: replace []byte with []u8
This commit is contained in:
@ -180,7 +180,7 @@ fn test_rand_f64_in_range() {
|
||||
}
|
||||
|
||||
fn test_rand_u8() {
|
||||
mut all := []byte{}
|
||||
mut all := []u8{}
|
||||
for _ in 0 .. 256 {
|
||||
x := rand.u8()
|
||||
assert x >= 0
|
||||
|
Reference in New Issue
Block a user