comparison src/testdir/test_largefile.vim @ 19427:fdfe44ac6a1a v8.2.0271

patch 8.2.0271: the "num64" feature is available everywhere Commit: https://github.com/vim/vim/commit/82f654e092ac5b86316bc1b30c0b07a849813186 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 17 22:12:50 2020 +0100 patch 8.2.0271: the "num64" feature is available everywhere Problem: The "num64" feature is available everywhere and building without it causes problems. Solution: Graduage the "num64" feature. (James McCoy, closes #5650)
author Bram Moolenaar <Bram@vim.org>
date Mon, 17 Feb 2020 22:15:07 +0100
parents c4aae9421aec
children 08940efa6b4e
comparison
equal deleted inserted replaced
19426:23bd41ec57fb 19427:fdfe44ac6a1a
22 normal 50% 22 normal 50%
23 normal gg 23 normal gg
24 w 24 w
25 " Check if the file size is 4,000,000,000 bytes. 25 " Check if the file size is 4,000,000,000 bytes.
26 let fsize=getfsize(fname) 26 let fsize=getfsize(fname)
27 if has('num64') 27 call assert_true(fsize == 4000000000)
28 call assert_true(fsize == 4000000000)
29 else
30 " getfsize() returns -2 if a Number is 32 bits.
31 call assert_true(fsize == -2)
32 endif
33 call delete(fname) 28 call delete(fname)
34 endfunc 29 endfunc