diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-01-21 15:11:47 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-21 15:11:47 +0800 |
| commit | 1883fe39bdee47a246a913ba021237d1893aaa90 (patch) | |
| tree | 84b15cb4c4f04bcf3117d8a3a44895a3ecf25c2c /test/unit/preprocess.lua | |
| parent | c556972ae10d0e61337dbc804a4a0af4e390f98e (diff) | |
test: fix some type warnings (#37483)
Diffstat (limited to 'test/unit/preprocess.lua')
| -rw-r--r-- | test/unit/preprocess.lua | 3 |
1 files changed, 1 insertions, 2 deletions
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() |
