Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
sekiguchi-nagisa committed May 15, 2024
1 parent fd7d47a commit 0e174ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/exec/cases/base/builtin_complete5.ds
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ assert { complete -q 'whil'; $COMPREPLY.hasSpace(0); } # insert space after keyw
assert diff <(complete -s 'for aaa i') <(echo 'in ')
assert { complete -q 'for aaa i'; $COMPREPLY.hasSpace(0); }
### file name
assert diff <(complete -s '/bi') <(echo 'bin/')
assert { complete -q '/bi'; !$COMPREPLY.hasSpace(0); } # not insert space after dir
assert diff <(complete -s 'echo /bi') <(echo 'bin/')
assert diff <(complete -s '/us') <(echo 'usr/')
assert { complete -q '/us'; !$COMPREPLY.hasSpace(0); } # not insert space after dir
assert diff <(complete -s 'echo /us') <(echo 'usr/')
assert { complete -q 'echo /bi'; !$COMPREPLY.hasSpace(0); } # not insert space after dir even if command argument
if $OSTYPE !~ $/cygwin/i && $OSTYPE !~ $/msys/ {
assert diff <(complete -s '~roo') <(echo '~root/')
Expand Down

0 comments on commit 0e174ce

Please sign in to comment.