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

ci: fix -cstrict job

This commit is contained in:
Delyan Angelov 2021-07-22 18:47:23 +03:00
parent ed234188b7
commit 44828cbb29
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -360,7 +360,7 @@ fn test_tell() ? {
s := 'x'.repeat(size) s := 'x'.repeat(size)
os.write_file(tfile, s) ? os.write_file(tfile, s) ?
fs := os.file_size(tfile) fs := os.file_size(tfile)
assert fs == size assert int(fs) == size
// //
mut f := os.open_file(tfile, 'r') ? mut f := os.open_file(tfile, 'r') ?
f.seek(-5, .end) ? f.seek(-5, .end) ?