diff --git a/vlib/os/file_test.v b/vlib/os/file_test.v index 7c20af56e8..648c81c03c 100644 --- a/vlib/os/file_test.v +++ b/vlib/os/file_test.v @@ -360,7 +360,7 @@ fn test_tell() ? { s := 'x'.repeat(size) os.write_file(tfile, s) ? fs := os.file_size(tfile) - assert fs == size + assert int(fs) == size // mut f := os.open_file(tfile, 'r') ? f.seek(-5, .end) ?