test: update file change expectations

This commit is contained in:
banteg
2026-01-01 02:39:25 +04:00
parent 29bfa29006
commit 4885e3b878
+2 -3
View File
@@ -81,8 +81,7 @@ def test_render_event_cli_handles_action_kinds() -> None:
)
assert any("tool: github.search_issues" in line for line in out)
assert any(
"files: added `README.md`, updated `src/compute_answer.py`" in line
for line in out
"files: add `README.md`, update `src/compute_answer.py`" in line for line in out
)
assert any(line.startswith("✗ stream error") for line in out)
@@ -105,7 +104,7 @@ def test_file_change_renders_relative_paths_inside_cwd() -> None:
)
)
assert any(
"files: updated `README.md`, updated `README.md`" in line for line in out
f"files: update `README.md`, update `{weird_abs}`" in line for line in out
)