aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2022-02-16 21:38:27 +0000
committerSean Dewar <seandewar@users.noreply.github.com>2022-02-17 14:45:22 +0000
commita256b710a26db5c08447eee3e602b86c13c78b06 (patch)
tree430a74fc6c6889684c784f642a9fc7b0913fed2a
parent3fba994de890625eeebf7693a13d4e38cfbea0c7 (diff)
downloadrneovim-a256b710a26db5c08447eee3e602b86c13c78b06.tar.gz
rneovim-a256b710a26db5c08447eee3e602b86c13c78b06.tar.bz2
rneovim-a256b710a26db5c08447eee3e602b86c13c78b06.zip
vim-patch:8.2.3570: Test_very_large_count fails on 32bit systems
Problem: Test_very_large_count fails on 32bit systems. Solution: Bail out when using 32 bit numbers. (closes vim/vim#9072) https://github.com/vim/vim/commit/ec6e63079dde24a1d74b4103775e74d00f9215ec
-rw-r--r--src/nvim/testdir/test_put.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_put.vim b/src/nvim/testdir/test_put.vim
index 13c00b3b71..a159687a76 100644
--- a/src/nvim/testdir/test_put.vim
+++ b/src/nvim/testdir/test_put.vim
@@ -142,6 +142,10 @@ func Test_very_large_count()
" FIXME: should actually check if sizeof(int) == sizeof(long)
CheckNotMSWindows
+ if v:numbersize != 64
+ throw 'Skipped: only works with 64 bit numbers'
+ endif
+
new
let @" = 'x'
call assert_fails('norm 44444444444444p', 'E1240:')