aboutsummaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
authorluukvbaal <31730729+luukvbaal@users.noreply.github.com>2022-11-08 00:21:22 +0100
committerGitHub <noreply@github.com>2022-11-08 07:21:22 +0800
commit8147d3df284a075f89746f9d5e948b5220c45f0b (patch)
treeb132435018203f9a41dee15af9afcba0634c4526 /test/unit
parent050b0e30b9d8a073a3b421a6cebd878226249ab6 (diff)
downloadrneovim-8147d3df284a075f89746f9d5e948b5220c45f0b.tar.gz
rneovim-8147d3df284a075f89746f9d5e948b5220c45f0b.tar.bz2
rneovim-8147d3df284a075f89746f9d5e948b5220c45f0b.zip
vim-patch:9.0.0844: handling 'statusline' errors is spread out (#20992)
Problem: Handling 'statusline' errors is spread out. Solution: Pass the option name to the lower levels so the option can be reset there when an error is encountered. (Luuk van Baal, closes vim/vim#11467) https://github.com/vim/vim/commit/7b224fdf4a29f115567d4fc8629c1cef92d8444a
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/buffer_spec.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/buffer_spec.lua b/test/unit/buffer_spec.lua
index 5dccc2f5a2..2611e7ca7c 100644
--- a/test/unit/buffer_spec.lua
+++ b/test/unit/buffer_spec.lua
@@ -233,7 +233,8 @@ describe('buffer functions', function()
output_buffer,
buffer_byte_size,
to_cstr(pat),
- false,
+ NULL,
+ 0,
fillchar,
maximum_cell_count,
NULL,