Skip to content

Commit

Permalink
(mini.files tests) Temporarily disable modified border test on Neovim…
Browse files Browse the repository at this point in the history
… 0.10.
  • Loading branch information
echasnovski committed Oct 10, 2023
1 parent 0c50ef9 commit 8b43796
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_files.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1729,8 +1729,10 @@ T['Windows']['uses correct UI highlight groups'] = function()

-- Simply going in Insert mode should not add "modified"
type_keys('i')
validate_winhl_match(win_id_2, 'FloatBorder', 'MiniFilesBorder')
validate_winhl_match(win_id_2, 'FloatBorder', 'MiniFilesBorder')
validate_winhl_match(win_id_1, 'FloatBorder', 'MiniFilesBorder')
-- Disable on Neovim>=0.10 due to https://github.com/vim/vim/issues/13265
-- TODO: revert back after issue is resolved
if child.fn.has('nvim-0.10') == 0 then validate_winhl_match(win_id_2, 'FloatBorder', 'MiniFilesBorder') end

type_keys('x')
validate_winhl_match(win_id_1, 'FloatBorder', 'MiniFilesBorder')
Expand Down

0 comments on commit 8b43796

Please sign in to comment.