From 362cc8c9f47c441d9bf61c523fc37ff4e128fbc2 Mon Sep 17 00:00:00 2001 From: HeavyPunk Date: Sun, 1 Dec 2024 18:05:25 +0500 Subject: [PATCH] fix(dap_manual): fixed style issues --- lua/neotest-golang/features/dap/dap_manual.lua | 3 +-- lua/neotest-golang/features/dap/init.lua | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lua/neotest-golang/features/dap/dap_manual.lua b/lua/neotest-golang/features/dap/dap_manual.lua index e2f87833..13a19d36 100644 --- a/lua/neotest-golang/features/dap/dap_manual.lua +++ b/lua/neotest-golang/features/dap/dap_manual.lua @@ -35,7 +35,6 @@ function M.get_dap_config(test_path, test_name_regex) end ---Dummy function is needed to be corresponding to dap-go setup (just like trait implementation) -function M.assert_dap_prerequisites() -end +function M.assert_dap_prerequisites() end return M diff --git a/lua/neotest-golang/features/dap/init.lua b/lua/neotest-golang/features/dap/init.lua index 32c5b1b6..ccd6f6e2 100644 --- a/lua/neotest-golang/features/dap/init.lua +++ b/lua/neotest-golang/features/dap/init.lua @@ -17,7 +17,9 @@ local function get_dap_implementation() elseif selected_dap_mode == "manual" then dap_impl = require("neotest-golang.features.dap.dap_manual") else - local msg = "Got dap-mode: `" .. selected_dap_mode .. "` that cannot be used. " + local msg = "Got dap-mode: `" + .. selected_dap_mode + .. "` that cannot be used. " .. "See the neotest-golang README for more information." logger.error(msg) error(msg)