summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2026-03-04 21:52:49 +0800
committerGitHub <[email protected]>2026-03-04 21:52:49 +0800
commitd5b63d9e2d554a802a23b7d179b9c910a51a6745 (patch)
tree84cdab2f55db71c5a7977a144f15be681ba571ee
parentbaa3c387ab242c16fd1d9c05ee6da7e3be4a5e4f (diff)
Refactor output logging for verbose option
-rw-r--r--xmake/actions/test/main.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/actions/test/main.lua b/xmake/actions/test/main.lua
index 70f8236d7..46459d648 100644
--- a/xmake/actions/test/main.lua
+++ b/xmake/actions/test/main.lua
@@ -318,8 +318,7 @@ function _show_output(testinfo, kind)
io.writefile(logfile, output)
print("%s: %s", kind, logfile)
elseif option.get("verbose") then
- io.write(kind, ": ", output, "\n")
- print()
+ io.write(kind .. ": " .. output .. "\n")
end
end
end