fix(ci): update live file edit test expectations

This commit is contained in:
Xubin Ren
2026-05-18 22:01:33 +08:00
parent 0537cc1682
commit 40c1d83b32
3 changed files with 13 additions and 4 deletions
+3 -3
View File
@@ -46,7 +46,7 @@ def test_write_file_start_predicts_and_end_calibrates_exact_diff(tmp_path: Path)
"call_id": "call-write",
"tool": "write_file",
"path": "notes.txt",
"absolute_path": (tmp_path / "notes.txt").as_posix(),
"absolute_path": (tmp_path / "notes.txt").resolve().as_posix(),
"phase": "start",
"added": 2,
"deleted": 1,
@@ -126,7 +126,7 @@ def test_streaming_write_file_tracker_emits_live_line_counts(tmp_path: Path) ->
"call_id": "call-live",
"tool": "write_file",
"path": "notes.md",
"absolute_path": (tmp_path / "notes.md").as_posix(),
"absolute_path": (tmp_path / "notes.md").resolve().as_posix(),
"phase": "start",
"added": 0,
"deleted": 0,
@@ -270,7 +270,7 @@ def test_streaming_edit_file_tracker_emits_live_line_counts(tmp_path: Path) -> N
"call_id": "call-edit",
"tool": "edit_file",
"path": "notes.md",
"absolute_path": (tmp_path / "notes.md").as_posix(),
"absolute_path": (tmp_path / "notes.md").resolve().as_posix(),
"phase": "start",
"added": 0,
"deleted": 2,