diff --git a/tests/smoke.lua b/tests/smoke.lua index 7fe6c01..71ce79b 100644 --- a/tests/smoke.lua +++ b/tests/smoke.lua @@ -61,7 +61,8 @@ assert(vim.api.nvim_win_get_config(0).relative == "", "reveal() showed the windo vim.api.nvim_get_mode = get_mode assert(m.reveal(pid), "reveal() of the hidden window") -assert(vim.api.nvim_win_get_config(0).relative == "editor" and vim.fn.jobpid(job()) == pid, "reveal() didn't bring the window back") +assert(vim.api.nvim_win_get_config(0).relative == "editor", "reveal() didn't bring the window back") +assert(vim.fn.jobpid(job()) == pid, "reveal() brought back another lazysecrets") vim.fn.delete(tmp, "rf") print("ok")