payees: Add test for what payees command would be expected to do

This commit is contained in:
Caleb Maclennan 2019-07-10 11:25:03 +03:00 committed by Simon Michael
parent a5372168bc
commit a45b42bed5

25
tests/payees.test Normal file
View 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
>=