From a45b42bed538154381ea8d987754e162b7b1a225 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Wed, 10 Jul 2019 11:25:03 +0300 Subject: [PATCH] payees: Add test for what payees command would be expected to do --- tests/payees.test | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tests/payees.test diff --git a/tests/payees.test b/tests/payees.test new file mode 100644 index 000000000..29974a5db --- /dev/null +++ b/tests/payees.test @@ -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 +>=