Skip to content

test: cover chunker tail flush after rollback#283

Open
haosenwang1018 wants to merge 1 commit intozilliztech:mainfrom
haosenwang1018:test/chunker-tail-flush-coverage
Open

test: cover chunker tail flush after rollback#283
haosenwang1018 wants to merge 1 commit intozilliztech:mainfrom
haosenwang1018:test/chunker-tail-flush-coverage

Conversation

@haosenwang1018
Copy link
Copy Markdown
Contributor

Summary

  • add coverage for the _split_large_section() path where the last oversized line is rolled back and emitted during the final flush
  • verify the tail line is not silently dropped after line-boundary splitting
  • keep the patch scoped to chunker edge-case coverage under issue test: improve test coverage across the project #114

Testing

  • uv run python -m pytest tests/test_chunker.py -q
  • uv run ruff check tests/test_chunker.py
  • uv run ruff format --check tests/test_chunker.py

Refs #114

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant