aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/window_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-09-28 10:21:06 +0800
committerGitHub <noreply@github.com>2024-09-28 10:21:06 +0800
commit4f9311b759fff0371433fb5b5355fccb001d54e7 (patch)
tree616920f079d5be9b7ac0c2e07fda93eb8913654c /test/functional/api/window_spec.lua
parent0f067cd34d09b38f9aaf2e1732d825e89b573077 (diff)
downloadrneovim-4f9311b759fff0371433fb5b5355fccb001d54e7.tar.gz
rneovim-4f9311b759fff0371433fb5b5355fccb001d54e7.tar.bz2
rneovim-4f9311b759fff0371433fb5b5355fccb001d54e7.zip
fix(window): making float with title/footer non-float leaks memory (#30551)
Diffstat (limited to 'test/functional/api/window_spec.lua')
-rw-r--r--test/functional/api/window_spec.lua24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/functional/api/window_spec.lua b/test/functional/api/window_spec.lua
index 135b24fa5f..5ce93f9e04 100644
--- a/test/functional/api/window_spec.lua
+++ b/test/functional/api/window_spec.lua
@@ -1815,10 +1815,10 @@ describe('API/win', function()
'title/footer must be string or array',
pcall_err(api.nvim_open_win, 0, false, {
relative = 'editor',
- row = 5,
- col = 5,
- height = 5,
- width = 5,
+ row = 10,
+ col = 10,
+ height = 10,
+ width = 10,
border = 'single',
title = { { 'TITLE' } },
footer = 0,
@@ -1831,10 +1831,10 @@ describe('API/win', function()
'title/footer must be string or array',
pcall_err(api.nvim_open_win, 0, false, {
relative = 'editor',
- row = 5,
- col = 5,
- height = 5,
- width = 5,
+ row = 10,
+ col = 10,
+ height = 10,
+ width = 10,
border = 'single',
title = 0,
footer = { { 'FOOTER' } },
@@ -2840,10 +2840,10 @@ describe('API/win', function()
before_each(function()
win = api.nvim_open_win(0, false, {
relative = 'editor',
- row = 5,
- col = 5,
- height = 5,
- width = 5,
+ row = 10,
+ col = 10,
+ height = 10,
+ width = 10,
border = 'single',
title = { { 'OLD_TITLE' } },
footer = { { 'OLD_FOOTER' } },