payees: Add test for what payees command would be expected to do
This commit is contained in:
parent
a5372168bc
commit
a45b42bed5
25
tests/payees.test
Normal file
25
tests/payees.test
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# payees command
|
||||||
|
|
||||||
|
# basic payees report
|
||||||
|
<
|
||||||
|
2018/1/1 foo ; foo:
|
||||||
|
a
|
||||||
|
|
||||||
|
2018/1/1 bar | baz
|
||||||
|
a
|
||||||
|
|
||||||
|
$ hledger -f - payees
|
||||||
|
bar
|
||||||
|
foo
|
||||||
|
>=
|
||||||
|
|
||||||
|
# with payee and note fields togother
|
||||||
|
$ hledger -f - payees --notes
|
||||||
|
bar | baz
|
||||||
|
foo
|
||||||
|
>=
|
||||||
|
|
||||||
|
# filtering transactions by tag
|
||||||
|
$ hledger -f - payees tag:foo
|
||||||
|
foo
|
||||||
|
>=
|
||||||
Loading…
Reference in New Issue
Block a user