wfxr.forgit/tests
carlfriedrich efa8c39b0d fix: support arbitrary whitespace in _forgit_parse_array
Values spanning multiple lines (e.g. a multi-line FORGIT_*_GIT_OPTS
export) were silently dropped: read stopped at the first newline and
IFS only split on spaces, so the resulting array came out empty.

Split on spaces, tabs and newlines and consume the whole value with an
empty delimiter, ignoring leading/trailing whitespace.

Add unit tests covering space-, tab- and newline-separated inputs.
2026-06-28 14:04:02 +02:00
..
branch-helpers.test.sh feat: add interactive git worktree operations 2026-03-10 09:20:16 +08:00
clean-select-files.test.sh ci: enforce consistent shell formatting with shfmt (#514) 2026-04-11 17:51:34 +02:00
empty-state.test.sh ci: enforce consistent shell formatting with shfmt (#514) 2026-04-11 17:51:34 +02:00
fzf.test.sh fix: preserve add paths across special filenames (#506) 2026-04-08 10:40:03 +08:00
helper-functions.test.sh ci: enforce consistent shell formatting with shfmt (#514) 2026-04-11 17:51:34 +02:00
is-submodule.test.sh fix: forgit add shows dir view for submodules (#484) 2025-12-21 20:45:56 +01:00
list-staged-files.test.sh feat: add interactive git restore selector (#537) 2026-06-16 21:16:26 +02:00
log.test.sh refactor: extract _forgit_git_log from _forgit_log 2026-03-17 17:21:28 +01:00
parse-array.test.sh fix: support arbitrary whitespace in _forgit_parse_array 2026-06-28 14:04:02 +02:00
preview-context.test.sh ci: enforce consistent shell formatting with shfmt (#514) 2026-04-11 17:51:34 +02:00
restore.test.sh feat: add interactive git restore selector (#537) 2026-06-16 21:16:26 +02:00
show.test.sh refactor: extract _forgit_git_show from _forgit_show 2026-03-17 17:21:28 +01:00
working-tree-changes.test.sh ci: enforce consistent shell formatting with shfmt (#514) 2026-04-11 17:51:34 +02:00