aboutsummaryrefslogtreecommitdiff
path: root/test/functional/editor/tabpage_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/editor/tabpage_spec.lua')
-rw-r--r--test/functional/editor/tabpage_spec.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/editor/tabpage_spec.lua b/test/functional/editor/tabpage_spec.lua
index f8ca6986bd..a7f629a76b 100644
--- a/test/functional/editor/tabpage_spec.lua
+++ b/test/functional/editor/tabpage_spec.lua
@@ -144,4 +144,10 @@ describe('tabpage', function()
command(' silent :keepalt :: ::: silent! -2 tabmove')
eq(1, funcs.nvim_tabpage_get_number(0))
end)
+
+ it(':tabs does not overflow IObuff with long path with comma #20850', function()
+ meths.buf_set_name(0, ('x'):rep(1024) .. ',' .. ('x'):rep(1024))
+ command('tabs')
+ assert_alive()
+ end)
end)