Skip to content

Document str_split trailing separator behavior#130

Merged
codeforester merged 1 commit into
mainfrom
docs/128-20260707-str-split-trailing-separator
Jul 7, 2026
Merged

Document str_split trailing separator behavior#130
codeforester merged 1 commit into
mainfrom
docs/128-20260707-str-split-trailing-separator

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • document that str_split preserves a trailing empty field when input ends with the separator
  • add BATS coverage for the trailing-separator case
  • record the documentation/test pin in the changelog

Fixes #128.

Validation

  • bats lib/bash/str/tests/lib_str.bats
  • ./tests/validate.sh
  • git diff --check

@codeforester codeforester merged commit 4e52d69 into main Jul 7, 2026
2 checks passed
@codeforester codeforester deleted the docs/128-20260707-str-split-trailing-separator branch July 7, 2026 19:55
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.

Docs: document and test str_split trailing-separator behavior

1 participant