Skip to content

test: cover compact source normalization edge cases#271

Merged
zc277584121 merged 1 commit intozilliztech:mainfrom
haosenwang1018:test/compact-source-normalization-edges
Apr 2, 2026
Merged

test: cover compact source normalization edge cases#271
zc277584121 merged 1 commit intozilliztech:mainfrom
haosenwang1018:test/compact-source-normalization-edges

Conversation

@haosenwang1018
Copy link
Copy Markdown
Contributor

Summary

  • add direct coverage for ~/... expansion in _normalize_compact_source()
  • verify non-path filters are returned unchanged instead of being resolved as filesystem paths
  • keep the existing no-match compact CLI smoke test alongside the helper-level path normalization coverage

Testing

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

Closes #114

@zc277584121 zc277584121 merged commit e51f70f into zilliztech:main Apr 2, 2026
5 of 6 checks passed
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.

test: improve test coverage across the project

2 participants