Skip to content

Commit e405f02

Browse files
committed
test: fix another test issue
1 parent 635ab1e commit e405f02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/child_helper.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ 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] = "789" or lines[1] = "789\r")
138+
return lines[1] and (lines[1] == "789" or lines[1] == "789\r")
139139
end
140140
141-
vim.wait(5000, function()
141+
vim.wait(10000, function()
142142
return suggestion_is_visible()
143143
end, 50)
144144
]])

0 commit comments

Comments
 (0)