From 2a887fe9b2ae604dac9715261355b75b67323dc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3n=C3=A1n=20Carrigan?= Date: Sun, 4 Sep 2022 11:14:35 +0100 Subject: [PATCH] feat(client): remove error aggregation The error aggregation doesn't know enough information about the tests structure to aggregate correctly. Instead this is left to adapters. See #99 --- lua/neotest/client/runner.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lua/neotest/client/runner.lua b/lua/neotest/client/runner.lua index 8a4afddc..57e5dc0e 100644 --- a/lua/neotest/client/runner.lua +++ b/lua/neotest/client/runner.lua @@ -227,10 +227,6 @@ function TestRunner:_missing_results(tree, results, partial) parent_result.status = pos_result.status end - if pos_result.errors then - parent_result.errors = vim.list_extend(parent_result.errors or {}, pos_result.errors) - end - results_proxy[parent_pos.id] = parent_result end end