test: cover every shell in the finite-option-values assertion #227
No reviewers
Labels
No labels
priority/P0
priority/P1
priority/P2
release/v0.1.0
status/blocked
status/planned
type/bug
type/design
type/test-gap
type/tracker
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
natsukium/felis!227
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-220"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
docs/reference/cli.mdstates that--formatandsessions capture --sourcecomplete to their listed values in every generated script, but the only test behind that sentence asserted three zsh literals againstscript(Shell::Zsh). The claim is true today in all three shells; the gap is that nothing outside zsh is exercised, so a laterhide_possible_valuesor a bash/fish overlay that rewrites those specs would leave the doc false with the suite still green.every_shell_script_offers_the_finite_option_valuesnow loops the assertion over bash, zsh and fish, deriving each shell's own candidate spelling from the same value lists: bash's-W "human json", zsh's:FORMAT:(human json), and fish's newline-separated-a "human\t''...". The doc sentence and the test now cover the same three shells.Test-only change: no behavior, docs, or wire surface moves, so no CHANGELOG entry.
Fixes #220