Skip to content

perf(program): trim trailing spaces and honor overlap in split_text - #27

Merged
rfprod merged 1 commit into
mainfrom
unit-test
Nov 6, 2026
Merged

rfprod merged 1 commit into
mainfrom
unit-test

Conversation

@rfprod

@rfprod rfprod commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner
  • trim trailing spaces from the final line in wrap_text;
  • keep the overlap start in split_text when no word boundary exists in range;
  • expand text_utils tests to cover wrap and split edge cases and invalid arguments;
  • replace manual size_t and int casts in tests with static_cast and typed assertions;
  • specify runs-on: ubuntu-24.04 in all action workflows;

@rfprod rfprod self-assigned this Nov 6, 2026
@rfprod rfprod added Program Main program logic related changes. Specs: Unit Unit specs related changes. labels Nov 6, 2026
@rfprod
rfprod enabled auto-merge (squash) November 6, 2026 17:22
- [x] trim trailing spaces from the final line in `wrap_text`;
- [x] keep the overlap start in `split_text` when no word boundary exists in range;
- [x] expand `text_utils` tests to cover wrap and split edge cases and invalid arguments;
- [x] replace manual `size_t` and int casts in tests with `static_cast` and typed assertions;
- [x] specify `runs-on: ubuntu-24.04` in all action workflows;
@rfprod
rfprod merged commit 1399f88 into main Nov 6, 2026
3 checks passed
@rfprod
rfprod deleted the unit-test branch November 6, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Program Main program logic related changes. Specs: Unit Unit specs related changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant