Skip to content

Commit

Permalink
fix: do not remove strings
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikaverpil committed Jul 22, 2024
1 parent accc411 commit ba6ae76
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lua/neotest-golang/logging.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ local prefix = "[neotest-golang] "

local function clean_output(str)
-- Replace escaped newlines and tabs with spaces
str = str:gsub("\\n", " "):gsub("\\t", " ")
-- Remove any remaining actual newlines and tabs
str = str:gsub("[\n\t]", " ")
-- Collapse multiple spaces into one
str = str:gsub("%s+", " ")
Expand Down

0 comments on commit ba6ae76

Please sign in to comment.