aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/null_spec.lua
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-07-20 18:28:16 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-25 19:25:30 -0500
commit0519a75f6eca1065a4d0184f99c71ae03a99b9b1 (patch)
tree16f28a8a5e9768079cabd97c379d14962232b6d7 /test/functional/eval/null_spec.lua
parent84faeb07d0018c674c2bc730333fefae6123f366 (diff)
downloadrneovim-0519a75f6eca1065a4d0184f99c71ae03a99b9b1.tar.gz
rneovim-0519a75f6eca1065a4d0184f99c71ae03a99b9b1.tar.bz2
rneovim-0519a75f6eca1065a4d0184f99c71ae03a99b9b1.zip
vim-patch: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
Diffstat (limited to 'test/functional/eval/null_spec.lua')
-rw-r--r--test/functional/eval/null_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/eval/null_spec.lua b/test/functional/eval/null_spec.lua
index fa8f7d873f..bef41e52d4 100644
--- a/test/functional/eval/null_spec.lua
+++ b/test/functional/eval/null_spec.lua
@@ -121,7 +121,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)