aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/null_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-06-26 13:41:01 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-08-15 17:58:35 +0800
commit95b8e2c55f7d119497ec4008e564b2520c6d5e9b (patch)
treede9b0a2919039e9d6a03067c6d8242e994488241 /test/functional/vimscript/null_spec.lua
parent9a3877ff9d4db15189b171b4a487d57768abf0a9 (diff)
downloadrneovim-95b8e2c55f7d119497ec4008e564b2520c6d5e9b.tar.gz
rneovim-95b8e2c55f7d119497ec4008e564b2520c6d5e9b.tar.bz2
rneovim-95b8e2c55f7d119497ec4008e564b2520c6d5e9b.zip
vim-patch:partial:8.1.0822: peeking and flushing output slows down execution
Problem: Peeking and flushing output slows down execution. Solution: Do not update the mode message when global_busy is set. Do not flush when only peeking for a character. (Ken Takata) https://github.com/vim/vim/commit/cb574f415486adff645ce384979bfecf27f5be8c Omit inchar() change: it breaks too many tests. N/A patches for version.c: vim-patch:8.2.5170: tiny issues Problem: Tiny issues. Solution: Tiny improvements. https://github.com/vim/vim/commit/944cc9ceba8868acd238264d4a3894803c566b37
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 f23f00bcc5..2451da983e 100644
--- a/test/functional/vimscript/null_spec.lua
+++ b/test/functional/vimscript/null_spec.lua
@@ -135,7 +135,7 @@ describe('NULL', function()
null_test('does not make Neovim crash when v:oldfiles gets assigned to that', ':let v:oldfiles = L|oldfiles', 0)
null_expr_test('does not make complete() crash or error out',
'execute(":normal i\\<C-r>=complete(1, L)[-1]\\n")',
- '', '\n', function()
+ 0, '', function()
eq({''}, curbufmeths.get_lines(0, -1, false))
end)
null_expr_test('is accepted by setmatches()', 'setmatches(L)', 0, 0)