aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_vimscript.vim
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-11-26 22:36:57 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-11-27 21:24:59 -0500
commita3922e03a976d1623f89b07071f6a4581c84ec62 (patch)
tree82dc3000076054f785ee358db67dec32dd10fee0 /src/nvim/testdir/test_vimscript.vim
parent628a1caa692630974bceb8338eedc56ddef6cb14 (diff)
downloadrneovim-a3922e03a976d1623f89b07071f6a4581c84ec62.tar.gz
rneovim-a3922e03a976d1623f89b07071f6a4581c84ec62.tar.bz2
rneovim-a3922e03a976d1623f89b07071f6a4581c84ec62.zip
vim-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 vim/vim#5650) https://github.com/vim/vim/commit/82f654e092ac5b86316bc1b30c0b07a849813186 Restore Test_printf_spec_b() from patch 7.4.2221.. N/A patches for version.c: vim-patch:8.2.0594: MS-Windows: cannot build with WINVER set to 0x0501 Problem: MS-Windows: cannot build with WINVER set to 0x0501. Solution: Only use inet_ntop() when available. (Ozaki Kiichi, closes vim/vim#5946) https://github.com/vim/vim/commit/b6fb0516ec862a18fdffe06c9400d507a7193835 vim-patch:8.2.0965: has_funcundefined() is not used Problem: Has_funcundefined() is not used. Solution: Delete the function. (Dominique Pellé, closes vim/vim#6242) https://github.com/vim/vim/commit/5055c56cfbedc6326c607d40c7a1241682f7675e vim-patch:8.2.1370: MS-Windows: warning for using fstat() with stat_T Problem: MS-Windows: warning for using fstat() with stat_T. Solution: use _fstat64() if available. (Naruhiko Nishino, closes vim/vim#6625) https://github.com/vim/vim/commit/c753478b82613df37b145764e27f5514542edb97 vim-patch:8.2.2056: configure fails when building with implicit-function-declaration Problem: Configure fails when building with the "implicit-function-declaration" error enabled, specifically on Mac. Solution: Declear the functions like in the source code. (suggestion by Clemens Lang, closes vim/vim#7380) https://github.com/vim/vim/commit/ce7be3a0e6f19bc85990bb8fcfe5e208944777b4
Diffstat (limited to 'src/nvim/testdir/test_vimscript.vim')
-rw-r--r--src/nvim/testdir/test_vimscript.vim22
1 files changed, 3 insertions, 19 deletions
diff --git a/src/nvim/testdir/test_vimscript.vim b/src/nvim/testdir/test_vimscript.vim
index cb81997d39..118a5dab2b 100644
--- a/src/nvim/testdir/test_vimscript.vim
+++ b/src/nvim/testdir/test_vimscript.vim
@@ -1068,10 +1068,6 @@ endfunc
"-------------------------------------------------------------------------------
func Test_num64()
- if !has('num64')
- return
- endif
-
call assert_notequal( 4294967296, 0)
call assert_notequal(-4294967296, 0)
call assert_equal( 4294967296, 0xFFFFffff + 1)
@@ -1313,27 +1309,15 @@ func Test_compound_assignment_operators()
" Test special cases: division or modulus with 0.
let x = 1
let x /= 0
- if has('num64')
- call assert_equal(0x7FFFFFFFFFFFFFFF, x)
- else
- call assert_equal(0x7fffffff, x)
- endif
+ call assert_equal(0x7FFFFFFFFFFFFFFF, x)
let x = -1
let x /= 0
- if has('num64')
- call assert_equal(-0x7FFFFFFFFFFFFFFF, x)
- else
- call assert_equal(-0x7fffffff, x)
- endif
+ call assert_equal(-0x7FFFFFFFFFFFFFFF, x)
let x = 0
let x /= 0
- if has('num64')
- call assert_equal(-0x7FFFFFFFFFFFFFFF - 1, x)
- else
- call assert_equal(-0x7FFFFFFF - 1, x)
- endif
+ call assert_equal(-0x7FFFFFFFFFFFFFFF - 1, x)
let x = 1
let x %= 0