test: two asserts, within StyLua's column width
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -61,7 +61,8 @@ assert(vim.api.nvim_win_get_config(0).relative == "", "reveal() showed the windo
|
|||||||
vim.api.nvim_get_mode = get_mode
|
vim.api.nvim_get_mode = get_mode
|
||||||
|
|
||||||
assert(m.reveal(pid), "reveal() of the hidden window")
|
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")
|
vim.fn.delete(tmp, "rf")
|
||||||
print("ok")
|
print("ok")
|
||||||
Reference in new issue
Block a user