Skip to content

Commit 7fe56b6

Browse files
committed
fix: Selene issues
1 parent 2c80b89 commit 7fe56b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/debugprint.lua

+4-4
Original file line numberDiff line numberDiff line change
@@ -2203,7 +2203,7 @@ describe("custom counter", function()
22032203

22042204
before_each(function()
22052205
debugprint.setup({
2206-
display_counter = function(opts)
2206+
display_counter = function(_)
22072207
count = count + 2
22082208
return "-" .. tostring(count) .. "x"
22092209
end,
@@ -2546,7 +2546,7 @@ describe("allow display_* to be set in filetypes", function()
25462546
it("display_location", function()
25472547
debugprint.setup({ filetypes = { lua = { display_location = false } } })
25482548

2549-
local lua_filename = init_file({
2549+
init_file({
25502550
"foo",
25512551
"bar",
25522552
}, "lua", 1, 0)
@@ -2721,7 +2721,7 @@ describe("can disable built-in keymaps/commands", function()
27212721
keymaps = { normal = { plain_below = false } },
27222722
})
27232723

2724-
local filename = init_file({
2724+
init_file({
27252725
"foo",
27262726
"bar",
27272727
}, "lua", 1, 0)
@@ -2741,7 +2741,7 @@ describe("can disable built-in keymaps/commands", function()
27412741
keymaps = { normal = { plain_below = "" } },
27422742
})
27432743

2744-
local filename = init_file({
2744+
init_file({
27452745
"foo",
27462746
"bar",
27472747
}, "lua", 1, 0)

0 commit comments

Comments
 (0)