dev: number the payees tests
This commit is contained in:
parent
b8f12e3908
commit
13109ac280
@ -1,18 +1,19 @@
|
|||||||
# check payees succeeds when all payees are declared:
|
# * check payees
|
||||||
|
# ** 1. check payees succeeds when all payees are declared:
|
||||||
<
|
<
|
||||||
payee foo
|
payee foo
|
||||||
2020-01-01 foo
|
2020-01-01 foo
|
||||||
2020-01-02 foo | some description
|
2020-01-02 foo | some description
|
||||||
$ hledger -f - check payees
|
$ hledger -f - check payees
|
||||||
|
|
||||||
# and otherwise fails:
|
# ** 2. and otherwise fails:
|
||||||
<
|
<
|
||||||
2020-01-01 foo
|
2020-01-01 foo
|
||||||
$ hledger -f - check payees
|
$ hledger -f - check payees
|
||||||
>2 /payee "foo" has not been declared/
|
>2 /payee "foo" has not been declared/
|
||||||
>=1
|
>=1
|
||||||
|
|
||||||
# or:
|
# ** 3. or:
|
||||||
<
|
<
|
||||||
payee foo
|
payee foo
|
||||||
2020-01-01 the payee | foo
|
2020-01-01 the payee | foo
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
# payees command
|
# * payees command
|
||||||
|
|
||||||
# basic payees report
|
# ** 1. basic payees report
|
||||||
<
|
<
|
||||||
payee qux
|
payee qux
|
||||||
|
|
||||||
@ -13,21 +13,20 @@ payee qux
|
|||||||
2018/1/3 foo
|
2018/1/3 foo
|
||||||
a
|
a
|
||||||
|
|
||||||
# declared and used payees, the default
|
|
||||||
$ hledger -f - payees
|
$ hledger -f - payees
|
||||||
bar
|
bar
|
||||||
foo
|
foo
|
||||||
qux
|
qux
|
||||||
|
|
||||||
# used payees
|
# ** 2. used payees
|
||||||
$ hledger -f - payees --used
|
$ hledger -f - payees --used
|
||||||
bar
|
bar
|
||||||
foo
|
foo
|
||||||
|
|
||||||
# declared payees
|
# ** 3. declared payees
|
||||||
$ hledger -f - payees --declared
|
$ hledger -f - payees --declared
|
||||||
qux
|
qux
|
||||||
|
|
||||||
# payees used in transactions matched by a query
|
# ** 4. payees used in transactions matched by a query
|
||||||
$ hledger -f - payees date:2018-01-03
|
$ hledger -f - payees date:2018-01-03
|
||||||
foo
|
foo
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user