This commit is contained in:
@@ -88,6 +88,9 @@ local function help_lines()
|
||||
" <leader>z Toggle Detail-Float full width",
|
||||
" <C-c> Close Detail-Float",
|
||||
" ? Show this help",
|
||||
"",
|
||||
"Notes:",
|
||||
" No output captured -> shows placeholder text",
|
||||
}
|
||||
end
|
||||
|
||||
@@ -1329,7 +1332,7 @@ function M.open_test_output_at_cursor()
|
||||
end
|
||||
end
|
||||
if type(output) ~= "table" or #output == 0 then
|
||||
vim.notify("[test-samurai] No output captured for " .. test_name, vim.log.levels.WARN)
|
||||
open_detail_split({ "", "No output captured" }, "default")
|
||||
return
|
||||
end
|
||||
local border_kind = status and status:lower() or nil
|
||||
|
||||
Reference in New Issue
Block a user