local Keys = require("lazy.core.handler.keys") describe("keys", function() it("parses ids correctly", function() local tests = { { "", "", true }, { "", "", true }, { "k", "K", false }, } for _, test in ipairs(tests) do if test[3] then assert.same(Keys.parse(test[1]).id, Keys.parse(test[2]).id) else assert.is_not.same(Keys.parse(test[1]).id, Keys.parse(test[2]).id) end end end) end)