mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-26 03:35:17 +00:00
use new logmsg
and set --show
in tests
This commit is contained in:
parent
03fa5dad12
commit
82ff27387a
3 changed files with 24 additions and 4 deletions
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
####################
|
||||||
|
# no args
|
||||||
|
|
||||||
|
####################
|
||||||
|
# one args
|
||||||
|
|
||||||
|
####################
|
||||||
|
# two args
|
||||||
|
|
||||||
|
####################
|
||||||
|
# args that look like flags or are otherwise special
|
|
@ -1,15 +1,15 @@
|
||||||
# Validate the behavior of the `count` command.
|
# Validate the behavior of the `count` command.
|
||||||
|
|
||||||
echo '# no args'
|
logmsg no args
|
||||||
count
|
count
|
||||||
|
|
||||||
echo '# one args'
|
logmsg one args
|
||||||
count x
|
count x
|
||||||
|
|
||||||
echo '# two args'
|
logmsg two args
|
||||||
count x y
|
count x y
|
||||||
|
|
||||||
echo '# args that look like flags or are otherwise special'
|
logmsg args that look like flags or are otherwise special
|
||||||
count -h
|
count -h
|
||||||
count --help
|
count --help
|
||||||
count --
|
count --
|
||||||
|
|
|
@ -1,9 +1,17 @@
|
||||||
|
|
||||||
|
####################
|
||||||
# no args
|
# no args
|
||||||
0
|
0
|
||||||
|
|
||||||
|
####################
|
||||||
# one args
|
# one args
|
||||||
1
|
1
|
||||||
|
|
||||||
|
####################
|
||||||
# two args
|
# two args
|
||||||
2
|
2
|
||||||
|
|
||||||
|
####################
|
||||||
# args that look like flags or are otherwise special
|
# args that look like flags or are otherwise special
|
||||||
1
|
1
|
||||||
1
|
1
|
||||||
|
|
Loading…
Reference in a new issue