mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-14 01:50:27 +00:00
chore: style and lint
This commit is contained in:
parent
23fb0002cf
commit
689778b3aa
@ -94,8 +94,10 @@ describe("harpoon", function()
|
||||
eq(harpoon.ui.win_id, nil)
|
||||
end)
|
||||
|
||||
it("closing toggle_quick_menu with save_on_toggle should save contents", function()
|
||||
harpoon:setup({ settings = { save_on_toggle = true }})
|
||||
it(
|
||||
"closing toggle_quick_menu with save_on_toggle should save contents",
|
||||
function()
|
||||
harpoon:setup({ settings = { save_on_toggle = true } })
|
||||
local list = harpoon:list()
|
||||
local created_files = utils.fill_list_with_files(3, list)
|
||||
|
||||
@ -106,5 +108,6 @@ describe("harpoon", function()
|
||||
|
||||
eq(list:length(), 2)
|
||||
eq(list:display(), created_files)
|
||||
end)
|
||||
end
|
||||
)
|
||||
end)
|
||||
|
@ -71,7 +71,7 @@ end
|
||||
function M.fill_list_with_files(count, list)
|
||||
local files = {}
|
||||
|
||||
for i = 1, count do
|
||||
for _ = 1, count do
|
||||
local name = os.tmpname()
|
||||
table.insert(files, name)
|
||||
M.create_file(name, { "test" })
|
||||
|
Loading…
x
Reference in New Issue
Block a user