mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
cli: fix functional tests
This commit is contained in:
parent
6e7a14b656
commit
80fefe9c43
@ -75,19 +75,19 @@ hledger balance --version
|
||||
|
||||
# 3. with no command, show commands list
|
||||
hledger
|
||||
>>> /^Commands available/
|
||||
>>> /^hledger.*commands available/
|
||||
>>>2
|
||||
>>>=0
|
||||
|
||||
# 4. no-command help still works if there are flags, at least the common ones
|
||||
hledger -fsomefile
|
||||
>>> /^Commands available/
|
||||
>>> /^hledger.*commands available/
|
||||
>>>2
|
||||
>>>=0
|
||||
|
||||
# 5. and also with a space between flag and value
|
||||
hledger -f somefile
|
||||
>>> /^Commands available/
|
||||
>>> /^hledger.*commands available/
|
||||
>>>2
|
||||
>>>=0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user