aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_eval_stuff.vim
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-26 22:47:12 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-27 09:21:35 -0400
commit25c0675fe343aa20e05c6cb26c2529d9dd9ac748 (patch)
treec9e976ec68dff373fe42847e7b747e89519fc3c0 /src/nvim/testdir/test_eval_stuff.vim
parente257aff016edc1d240d66c86e84e1f10ad972fd1 (diff)
downloadrneovim-25c0675fe343aa20e05c6cb26c2529d9dd9ac748.tar.gz
rneovim-25c0675fe343aa20e05c6cb26c2529d9dd9ac748.tar.bz2
rneovim-25c0675fe343aa20e05c6cb26c2529d9dd9ac748.zip
vim-patch:8.2.0296: mixing up "long long" and __int64 may cause problems
Problem: Mixing up "long long" and __int64 may cause problems. (John Marriott) Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize. https://github.com/vim/vim/commit/f9706e9df0e37d214fb08eda30ba29627e97a607
Diffstat (limited to 'src/nvim/testdir/test_eval_stuff.vim')
-rw-r--r--src/nvim/testdir/test_eval_stuff.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_eval_stuff.vim b/src/nvim/testdir/test_eval_stuff.vim
index 73b57f302e..b667086482 100644
--- a/src/nvim/testdir/test_eval_stuff.vim
+++ b/src/nvim/testdir/test_eval_stuff.vim
@@ -120,6 +120,12 @@ func Test_skip_after_throw()
endtry
endfunc
+func Test_numbersize()
+ " This will fail on systems without 64 bit int support or when not configured
+ " correctly.
+ call assert_equal(64, v:numbersize)
+endfunc
+
func Test_curly_assignment()
let s:svar = 'svar'
let g:gvar = 'gvar'