diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-11-27 21:27:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-27 21:27:07 -0500 |
commit | ba13b94f5aab734bdb242d515ac43d973ba6c6c5 (patch) | |
tree | 82dc3000076054f785ee358db67dec32dd10fee0 /src/nvim/testdir/test_vimscript.vim | |
parent | d956842751aaf88656825b236c27020596d96b6a (diff) | |
parent | a3922e03a976d1623f89b07071f6a4581c84ec62 (diff) | |
download | rneovim-ba13b94f5aab734bdb242d515ac43d973ba6c6c5.tar.gz rneovim-ba13b94f5aab734bdb242d515ac43d973ba6c6c5.tar.bz2 rneovim-ba13b94f5aab734bdb242d515ac43d973ba6c6c5.zip |
Merge pull request #13402 from janlazo/vim-8.2.2056
vim-patch:8.1.0951,8.2.{271,594,965,1370,2056,2059}
Diffstat (limited to 'src/nvim/testdir/test_vimscript.vim')
-rw-r--r-- | src/nvim/testdir/test_vimscript.vim | 22 |
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 |