test/tools: clean shell confirm format test

This commit is contained in:
2026-07-19 13:05:43 +08:00
parent fa9f28687f
commit a54fa534f3
+1 -1
View File
@@ -114,7 +114,6 @@ async def test_confirm_deny_with_comment() -> None:
assert "user comment:" in out
assert "too destructive" in out
def test_shell_confirm_formats_command_placeholder() -> None:
script = chr(10).join(["line1", "line2", "line3"])
reason = classify_danger(
@@ -131,3 +130,4 @@ def test_shell_confirm_formats_command_placeholder() -> None:
body = lines[idx + 1 :]
assert body
assert all(ln.startswith(" ") for ln in body)