From d5b63d9e2d554a802a23b7d179b9c910a51a6745 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 4 Mar 2026 21:52:49 +0800 Subject: Refactor output logging for verbose option --- xmake/actions/test/main.lua | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.3.1