ci: fix -cstrict job
parent
ed234188b7
commit
44828cbb29
|
@ -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) ?
|
||||||
|
|
Loading…
Reference in New Issue