Skip to content

Commit

Permalink
fix: Selene issues
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewferrier committed Jan 15, 2025
1 parent 2c80b89 commit 7fe56b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/debugprint.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2203,7 +2203,7 @@ describe("custom counter", function()

before_each(function()
debugprint.setup({
display_counter = function(opts)
display_counter = function(_)
count = count + 2
return "-" .. tostring(count) .. "x"
end,
Expand Down Expand Up @@ -2546,7 +2546,7 @@ describe("allow display_* to be set in filetypes", function()
it("display_location", function()
debugprint.setup({ filetypes = { lua = { display_location = false } } })

local lua_filename = init_file({
init_file({
"foo",
"bar",
}, "lua", 1, 0)
Expand Down Expand Up @@ -2721,7 +2721,7 @@ describe("can disable built-in keymaps/commands", function()
keymaps = { normal = { plain_below = false } },
})

local filename = init_file({
init_file({
"foo",
"bar",
}, "lua", 1, 0)
Expand All @@ -2741,7 +2741,7 @@ describe("can disable built-in keymaps/commands", function()
keymaps = { normal = { plain_below = "" } },
})

local filename = init_file({
init_file({
"foo",
"bar",
}, "lua", 1, 0)
Expand Down

0 comments on commit 7fe56b6

Please sign in to comment.