Commit Graph

1 Commits (main)

Author SHA1 Message Date
Jay0130-a 54cb6e9f9b test(docreader): add unit tests for utils.split text-splitting helpers
docreader.utils.split provides the text-splitting primitives (split_text_keep_separator, split_by_sep, split_by_char, split_by_regex, match_by_regex) used by the document splitter, but had no unit tests. Add docreader/tests/test_utils_split.py covering keep/discard separator behavior, char splitting, regex splitting that preserves separators, and regex matching.
2026-10-10 21:25:02 +08:00