File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ T["actions"] = new_set({ n_retry = not helpers.IS_LINUX() and 5 or nil })
1717
1818T [" actions" ][" ui don't freeze on error" ] = function ()
1919 -- reload({ "hide" })
20+ local screen_opts = { ignore_text = { 28 } }
2021 exec_lua (
2122 [[ FzfLua.fzf_exec({ "aaa", "bbb" }, {
2223 actions = { enter = { fn = error, exec_silent = true } },
@@ -25,13 +26,13 @@ T["actions"]["ui don't freeze on error"] = function()
2526 child .type_keys (" <cr>" )
2627 child .type_keys (" ui should not freeze on action error" )
2728 vim .uv .sleep (100 * (not helpers .IS_LINUX () and 5 or 1 ))
28- child .expect_screen_lines ({ redraw = true } )
29+ child .expect_screen_lines (screen_opts )
2930
3031 exec_lua ([[ FzfLua.fzf_exec(function(cb) cb(1) cb(2) error("eff") end)]] )
3132 child .wait_until (function () return child .lua_get ([[ _G._fzf_load_called]] ) == true end )
3233 child .type_keys (" ui should not freeze on content error" )
3334 vim .uv .sleep (100 * (not helpers .IS_LINUX () and 5 or 1 ))
34- child .expect_screen_lines ({ ignore_text = { 28 } } )
35+ child .expect_screen_lines (screen_opts )
3536end
3637
3738return T
You can’t perform that action at this time.
0 commit comments