Skip to content

test: Add unit test for fish env completer to clap_complete#6197

Merged
epage merged 1 commit intoclap-rs:masterfrom
devjgm:greg/fix-clap-completer-issue-with-fish
Dec 17, 2025
Merged

test: Add unit test for fish env completer to clap_complete#6197
epage merged 1 commit intoclap-rs:masterfrom
devjgm:greg/fix-clap-completer-issue-with-fish

Conversation

@devjgm
Copy link
Contributor

@devjgm devjgm commented Dec 17, 2025

Related to: #6196

This PR adds a unit test showing the current behavior of the the Fish shell env completer, that quotes paths incorrectly when there are spaces in the path. The issue should be demonstrated in this PR, and a follow-up PR could have a fix for the issue.

@devjgm devjgm changed the title clap_complete: add unit test for fish env completer test(clap_complete): add unit test for fish env completer Dec 17, 2025
Related to: clap-rs#6196

This PR adds a unit test showing the current behavior of the the Fish
shell env completer, that quotes paths incorrectly when there are spaces
in the path. The issue should be demonstrated in this PR, and a
follow-up PR could have a fix for the issue.
@devjgm devjgm force-pushed the greg/fix-clap-completer-issue-with-fish branch from becb097 to d495145 Compare December 17, 2025 21:33
@devjgm devjgm requested a review from epage December 17, 2025 21:37
@devjgm devjgm changed the title test(clap_complete): add unit test for fish env completer test: add unit test for fish env completer to clap_complete Dec 17, 2025
@devjgm devjgm changed the title test: add unit test for fish env completer to clap_complete test: Add unit test for fish env completer to clap_complete Dec 17, 2025
@epage
Copy link
Member

epage commented Dec 17, 2025

Thanks!

@epage epage merged commit ac1006c into clap-rs:master Dec 17, 2025
24 of 25 checks passed
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.

2 participants