aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-17 10:19:56 +0800
committerGitHub <noreply@github.com>2023-11-17 10:19:56 +0800
commitdc9f7b814517045b5354364655f660aae0989710 (patch)
treead5cc30e6ddb2202fb7e15aa081d9a7c7efb06d4 /test/functional
parent86c2213b5e451b0c80c2d7adc356c7cebe4bb7f8 (diff)
parent790bd4d5858713e8503825892c7d08340d189370 (diff)
downloadrneovim-dc9f7b814517045b5354364655f660aae0989710.tar.gz
rneovim-dc9f7b814517045b5354364655f660aae0989710.tar.bz2
rneovim-dc9f7b814517045b5354364655f660aae0989710.zip
Merge pull request #26083 from zeertzjq/vim-9.0.1854
vim-patch:9.0.{1854,1857,1858,partial:1859,1860,1864,1868,1872,1873,1878,1881,1882,1969,1992,2004,2010,2106}
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/legacy/messages_spec.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/legacy/messages_spec.lua b/test/functional/legacy/messages_spec.lua
index a604e68822..7536506aa3 100644
--- a/test/functional/legacy/messages_spec.lua
+++ b/test/functional/legacy/messages_spec.lua
@@ -6,6 +6,7 @@ local exec = helpers.exec
local feed = helpers.feed
local meths = helpers.meths
local nvim_dir = helpers.nvim_dir
+local assert_alive = helpers.assert_alive
before_each(clear)
@@ -758,4 +759,9 @@ describe('messages', function()
]])
os.remove('b.txt')
end)
+
+ it('no crash when truncating overlong message', function()
+ pcall(command, 'source test/old/testdir/crash/vim_msg_trunc_poc')
+ assert_alive()
+ end)
end)