diff --git a/tests/hawtkeys/ts_spec.lua b/tests/hawtkeys/ts_spec.lua index 41bec9a..9a9ecb8 100644 --- a/tests/hawtkeys/ts_spec.lua +++ b/tests/hawtkeys/ts_spec.lua @@ -222,14 +222,17 @@ describe("Which Key Managed Maps", function() eq("Function uses out of scope variables", keymap[1].rhs) end) - it("can extract keymaps containing dot indexed out of scope variables", function() - local keymap = ts.find_maps_in_file( - "tests/hawtkeys/example_configs/which-key.register_keymap_out_of_scope_dot_index_variables.lua" - ) - eq("n", keymap[1].mode) - eq("81dot", keymap[1].lhs) - eq("Function uses out of scope variables", keymap[1].rhs) - end) + it( + "can extract keymaps containing dot indexed out of scope variables", + function() + local keymap = ts.find_maps_in_file( + "tests/hawtkeys/example_configs/which-key.register_keymap_out_of_scope_dot_index_variables.lua" + ) + eq("n", keymap[1].mode) + eq("81dot", keymap[1].lhs) + eq("Function uses out of scope variables", keymap[1].rhs) + end + ) end) describe("Lazy Managed Plugins", function()