aboutsummaryrefslogtreecommitdiff
path: root/test/old
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-07-13 09:58:54 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-07-14 06:12:42 +0800
commit6276fce11e1d1d344f988ebfc8857df7d4f1a8bd (patch)
treec22e967ec9934f362ba4ac0f66a0bc65d4ab4369 /test/old
parentc31f64dd4d1aa0b89ed76c4e808d664b4f349f50 (diff)
downloadrneovim-6276fce11e1d1d344f988ebfc8857df7d4f1a8bd.tar.gz
rneovim-6276fce11e1d1d344f988ebfc8857df7d4f1a8bd.tar.bz2
rneovim-6276fce11e1d1d344f988ebfc8857df7d4f1a8bd.zip
test(old): enable Test_address_line_overflow()
Nvim doesn't use atol() in getdigits() and doesn't need to check for size of long.
Diffstat (limited to 'test/old')
-rw-r--r--test/old/testdir/test_excmd.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/old/testdir/test_excmd.vim b/test/old/testdir/test_excmd.vim
index a9d7c27fe5..c8ddaa90fd 100644
--- a/test/old/testdir/test_excmd.vim
+++ b/test/old/testdir/test_excmd.vim
@@ -718,9 +718,7 @@ func Test_not_break_expression_register()
endfunc
func Test_address_line_overflow()
- throw 'Skipped: v:sizeoflong is N/A' " use legacy/excmd_spec.lua instead
-
- if v:sizeoflong < 8
+ if !has('nvim') && v:sizeoflong < 8
throw 'Skipped: only works with 64 bit long ints'
endif
new