處理 AI review findings 並改寫 Node.js entrypoint #2
@@ -185,7 +185,7 @@ test_missing_codex_command_output() {
|
|||||||
|
|
||||||
assert_status "$status" 1
|
assert_status "$status" 1
|
||||||
grep -q "status=failed" "$tmpdir/github-output" || die "missing codex command failed status output"
|
grep -q "status=failed" "$tmpdir/github-output" || die "missing codex command failed status output"
|
||||||
grep -q "spawn codex ENOENT" "$tmpdir/github-output" || die "missing codex command error output"
|
grep -q "Unable to find codex command" "$tmpdir/github-output" || die "missing codex command error output"
|
||||||
[[ ! -e "$tmpdir/codex-home/auth.json" ]] || die "auth.json was not cleaned up after missing codex"
|
[[ ! -e "$tmpdir/codex-home/auth.json" ]] || die "auth.json was not cleaned up after missing codex"
|
||||||
rm -rf "$tmpdir"
|
rm -rf "$tmpdir"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user