Mercurial > vim
changeset 26087:945bdfc3c00f v8.2.3577
patch 8.2.3577: overflow check fails with 32 ints
Commit: https://github.com/vim/vim/commit/0f0044125c2a5dcde2c4605efc39d2e237eed024
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 3 13:43:16 2021 +0000
patch 8.2.3577: overflow check fails with 32 ints
Problem: Overflow check fails with 32 ints.
Solution: Only test with 64 bit ints.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 03 Nov 2021 14:45:04 +0100 |
parents | 781b2d806215 |
children | 37d400a117f7 |
files | src/testdir/test_put.vim src/version.c |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_put.vim +++ b/src/testdir/test_put.vim @@ -149,6 +149,10 @@ func Test_p_with_count_leaves_mark_at_en endfunc func Test_very_large_count() + if v:sizeofint != 8 + throw 'Skipped: only works with 64 bit ints' + endif + new let @" = 'x' call assert_fails('norm 44444444444444p', 'E1240:')