dev: number the payees tests

This commit is contained in:
Simon Michael 2025-06-14 11:25:57 -10:00
parent b8f12e3908
commit 13109ac280
2 changed files with 9 additions and 9 deletions

View File

@ -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
2020-01-01 foo
2020-01-02 foo | some description
$ hledger -f - check payees
# and otherwise fails:
# ** 2. and otherwise fails:
<
2020-01-01 foo
$ hledger -f - check payees
>2 /payee "foo" has not been declared/
>=1
# or:
# ** 3. or:
<
payee foo
2020-01-01 the payee | foo

View File

@ -1,6 +1,6 @@
# payees command
# * payees command
# basic payees report
# ** 1. basic payees report
<
payee qux
@ -13,21 +13,20 @@ payee qux
2018/1/3 foo
a
# declared and used payees, the default
$ hledger -f - payees
bar
foo
qux
# used payees
# ** 2. used payees
$ hledger -f - payees --used
bar
foo
# declared payees
# ** 3. declared payees
$ hledger -f - payees --declared
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
foo