From 44828cbb29c09092fab9fa2e196b5534aae348e7 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 22 Jul 2021 18:47:23 +0300 Subject: [PATCH] ci: fix -cstrict job --- vlib/os/file_test.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ?