From 01792c4e56d17a9bfce39ac10acd4d9f242b50a1 Mon Sep 17 00:00:00 2001 From: Fredrik Averpil Date: Sun, 14 Jul 2024 01:38:36 +0200 Subject: [PATCH] fix: always recreate lookup for file (#131) --- lua/neotest-golang/features/testify/lookup.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lua/neotest-golang/features/testify/lookup.lua b/lua/neotest-golang/features/testify/lookup.lua index 58d27446..5dcdf108 100644 --- a/lua/neotest-golang/features/testify/lookup.lua +++ b/lua/neotest-golang/features/testify/lookup.lua @@ -73,9 +73,7 @@ local function create_lookup_manager() return lookup_table end, create = function(file_path) - if not lookup_table[file_path] then - lookup_table[file_path] = M.generate_data(file_path) - end + lookup_table[file_path] = M.generate_data(file_path) return lookup_table end, get = function()