Skip to content

Commit 926fd63

Browse files
ritonSecrus
authored andcommitted
feat: Adapt fish completion unit test for command with space
* Those test should currently fail * We should escape quotes within command with space to prevent ❯ complete -c poetry -A -n '__fish_seen_subcommand_from 'env remove'' -l all -d 'Remove all managed virtual environments associated with the project.' complete: too many arguments
1 parent f244d43 commit 926fd63

File tree

1 file changed

+1
-1
lines changed
  • tests/commands/completion/fixtures

1 file changed

+1
-1
lines changed

tests/commands/completion/fixtures/fish.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ complete -c script -A -n '__fish_seen_subcommand_from hello' -l option-without-d
3737
# list
3838

3939
# 'spaced command'
40-
complete -c script -A -n '__fish_seen_subcommand_from 'spaced command'' -l goodbye -d ''
40+
complete -c script -A -n '__fish_seen_subcommand_from \'spaced command\'' -l goodbye -d ''

0 commit comments

Comments
 (0)