aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/null_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-11-05 12:26:17 +0800
committerGitHub <noreply@github.com>2022-11-05 12:26:17 +0800
commita86295cd5c2bf15a11eb05e226fd8e226154f6a6 (patch)
tree2b92fca7058bea9087cae7fadca3e425c73b07f9 /test/functional/vimscript/null_spec.lua
parentdaf9a63d67254342382cf79f1cd216f8e5722579 (diff)
downloadrneovim-a86295cd5c2bf15a11eb05e226fd8e226154f6a6.tar.gz
rneovim-a86295cd5c2bf15a11eb05e226fd8e226154f6a6.tar.bz2
rneovim-a86295cd5c2bf15a11eb05e226fd8e226154f6a6.zip
vim-patch:8.2.0615: regexp benchmark stest is old style (#20940)
Problem: Regexp benchmark stest is old style. Solution: Make it a new style test. Fix using a NULL list. Add more tests. (Yegappan Lakshmanan, closes vim/vim#5963) https://github.com/vim/vim/commit/ad48e6c1590842ab6d48e6caba3e9250734dae27 N/A patches: vim-patch:9.0.0829: wrong counts in macro comment
Diffstat (limited to 'test/functional/vimscript/null_spec.lua')
-rw-r--r--test/functional/vimscript/null_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/vimscript/null_spec.lua b/test/functional/vimscript/null_spec.lua
index 2451da983e..1153baac46 100644
--- a/test/functional/vimscript/null_spec.lua
+++ b/test/functional/vimscript/null_spec.lua
@@ -69,7 +69,7 @@ describe('NULL', function()
null_expr_test('can be splice-indexed', 'L[:]', 0, {})
null_expr_test('is not locked', 'islocked("v:_null_list")', 0, 0)
null_test('is accepted by :for', 'for x in L|throw x|endfor', 0)
- null_expr_test('does not crash append()', 'append(1, L)', 0, 0, function()
+ null_expr_test('does not crash append()', 'append(0, L)', 0, 0, function()
eq({''}, curbufmeths.get_lines(0, -1, false))
end)
null_expr_test('does not crash setline()', 'setline(1, L)', 0, 0, function()