Skip to content

Commit

Permalink
fix: add output colorization to position executed by user (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikaverpil authored Nov 21, 2024
1 parent df6e3f3 commit cdb0eb0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/neotest-golang/process.lua
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ function M.filter_gotest_output(gotest_output)
local o = {}
for _, line in ipairs(gotest_output) do
if line.Action == "output" then
if options.get().colorize_test_output == true then
line.Output = M.colorizer(line.Output)
end
table.insert(o, line.Output)
end
end
Expand Down

0 comments on commit cdb0eb0

Please sign in to comment.