-- @runtimes lua54 local h = require("harness") local m = require("main") h.describe("keymap", function() h.it("注册 normal 模式映射", function() local r = m.run(function() end) h.eq(r.registered, true) h.eq(r.mode, "n") h.eq(r.lhs, "h") end) end) h.run()