test: update file change expectations
This commit is contained in:
@@ -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("tool: github.search_issues" in line for line in out)
|
||||||
assert any(
|
assert any(
|
||||||
"files: added `README.md`, updated `src/compute_answer.py`" in line
|
"files: add `README.md`, update `src/compute_answer.py`" in line for line in out
|
||||||
for line in out
|
|
||||||
)
|
)
|
||||||
assert any(line.startswith("✗ stream error") 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(
|
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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user