Skip to content

Commit c65160d

Browse files
committed
test: improve waiting on panel suggestion
1 parent 958f963 commit c65160d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/child_helper.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function M.new_child_neovim(test_name)
135135
child.lua([[
136136
local function suggestion_is_visible()
137137
lines = vim.api.nvim_buf_get_lines(2, 4, 5, false)
138-
return lines[1] and lines[1] ~= ""
138+
return lines[1] and (lines[1] = "789" or lines[1] = "789\r")
139139
end
140140
141141
vim.wait(5000, function()

0 commit comments

Comments
 (0)