From bfd4333bb237c6f28d4dcf22e6532ce4c86038d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3n=C3=A1n=20Carrigan?= Date: Fri, 3 Jun 2022 16:34:14 +0100 Subject: [PATCH] fix(summary): use run consumer --- lua/neotest/consumers/summary/component.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/neotest/consumers/summary/component.lua b/lua/neotest/consumers/summary/component.lua index 6766059e..8ec1cd6f 100644 --- a/lua/neotest/consumers/summary/component.lua +++ b/lua/neotest/consumers/summary/component.lua @@ -109,7 +109,7 @@ function SummaryComponent:render(canvas, tree, expanded, focused, indent) canvas:add_mapping( "attach", async_func(function() - neotest.attach(position.id) + neotest.run.attach(position.id) end) ) canvas:add_mapping( @@ -127,11 +127,11 @@ function SummaryComponent:render(canvas, tree, expanded, focused, indent) ) canvas:add_mapping("stop", function() - neotest.stop({ position.id, adapter = self.adapter_id }) + neotest.run.stop({ position.id, adapter = self.adapter_id }) end) canvas:add_mapping("run", function() - neotest.run({ position.id, adapter = self.adapter_id }) + neotest.run.run({ position.id, adapter = self.adapter_id }) end) local state_icon, state_icon_group = self:_state_icon(position)