From 1883fe39bdee47a246a913ba021237d1893aaa90 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 21 Jan 2026 15:11:47 +0800 Subject: test: fix some type warnings (#37483) --- test/unit/preprocess.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/unit/preprocess.lua') diff --git a/test/unit/preprocess.lua b/test/unit/preprocess.lua index 906e4a2f5d..4b10918c2d 100644 --- a/test/unit/preprocess.lua +++ b/test/unit/preprocess.lua @@ -163,8 +163,7 @@ end --- @param hdr string --- @return string[]? function Gcc:dependencies(hdr) - --- @type string - local cmd = argss_to_cmd(self.path, { '-M', hdr }) .. ' 2>&1' + local cmd = table.concat(argss_to_cmd(self.path, { '-M', hdr }), ' ') .. ' 2>&1' local out = assert(io.popen(cmd)) local deps = out:read('*a') out:close() -- cgit