aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2022-02-16 22:31:40 +0000
committerSean Dewar <seandewar@users.noreply.github.com>2022-02-17 14:45:23 +0000
commit308c1952aa55d63a1643dea798f5143eb41e8ed4 (patch)
tree0566f99fc68007c02bc4e789ba9c592377bd6b3c /src
parent6890f8774bf6ec56b645c9b6389cdd1e4ed823ed (diff)
downloadrneovim-308c1952aa55d63a1643dea798f5143eb41e8ed4.tar.gz
rneovim-308c1952aa55d63a1643dea798f5143eb41e8ed4.tar.bz2
rneovim-308c1952aa55d63a1643dea798f5143eb41e8ed4.zip
vim-patch:8.2.3577: overflow check fails with 32 ints
Problem: Overflow check fails with 32 ints. Solution: Only test with 64 bit ints. https://github.com/vim/vim/commit/0f0044125c2a5dcde2c4605efc39d2e237eed024
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_put.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_put.vim b/src/nvim/testdir/test_put.vim
index bf222477a2..a71224785a 100644
--- a/src/nvim/testdir/test_put.vim
+++ b/src/nvim/testdir/test_put.vim
@@ -139,6 +139,12 @@ func Test_p_with_count_leaves_mark_at_end()
endfunc
func Test_very_large_count()
+ throw 'Skipped: v:sizeofint is N/A'
+
+ if v:sizeofint != 8
+ throw 'Skipped: only works with 64 bit ints'
+ endif
+
new
let @" = 'x'
call assert_fails('norm 44444444444444p', 'E1240:')