Skip to content

Commit b43e25b

Browse files
committed
(mini.map tests) Update test with new hide float window config entry.
1 parent 2a144a1 commit b43e25b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_map.lua

+3
Original file line numberDiff line numberDiff line change
@@ -358,12 +358,15 @@ T['open()']['correctly computes window config'] = function()
358358
map_open()
359359
local win_id = get_map_win_id()
360360

361+
local hide
362+
if child.fn.has('nvim-0.10') == 1 then hide = false end
361363
eq(child.api.nvim_win_get_config(win_id), {
362364
anchor = 'NE',
363365
col = 20,
364366
external = false,
365367
focusable = false,
366368
height = 28,
369+
hide = hide,
367370
relative = 'editor',
368371
row = 0,
369372
width = 10,

0 commit comments

Comments
 (0)