chore: style

This commit is contained in:
mpaulson 2023-12-02 16:01:22 -07:00
parent d3f4fe9e9e
commit 581da797f9

View File

@ -38,15 +38,15 @@ describe("list", function()
local config = Config.merge_config({ local config = Config.merge_config({
foo = { foo = {
select_with_nil = true, select_with_nil = true,
select = function (list_item, options) select = function(list_item, options)
foo_selected = {list_item, options} foo_selected = { list_item, options }
end end,
}, },
bar = { bar = {
select = function (list_item, options) select = function(list_item, options)
bar_selected = {list_item, options} bar_selected = { list_item, options }
end end,
} },
}) })
local fooc = Config.get_config(config, "foo") local fooc = Config.get_config(config, "foo")
local barc = Config.get_config(config, "bar") local barc = Config.get_config(config, "bar")
@ -57,7 +57,7 @@ describe("list", function()
foo:select(4, {}) foo:select(4, {})
bar:select(4, {}) bar:select(4, {})
eq({nil, {}}, foo_selected) eq({ nil, {} }, foo_selected)
eq(nil, bar_selected) eq(nil, bar_selected)
end) end)
end) end)