1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: other mut vlib test fixes

This commit is contained in:
Delyan Angelov
2020-09-27 11:18:55 +03:00
parent aa889b0edc
commit 03258db26d
4 changed files with 9 additions and 7 deletions

View File

@ -165,7 +165,7 @@ fn test_write_and_read_bytes() {
assert rbytes == payload
// check that trying to read data from EOF doesn't error and returns 0
mut a := []byte{len: 5}
nread := file_read.read_bytes_into(5, a) or {
nread := file_read.read_bytes_into(5, mut a) or {
eprintln(err)
int(-1)
}