diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/baseline/dir-payee.test | 6 | ||||
-rw-r--r-- | test/baseline/opt-check-payees.test | 21 |
2 files changed, 21 insertions, 6 deletions
diff --git a/test/baseline/dir-payee.test b/test/baseline/dir-payee.test index e5c7e5a1..eefd2d4c 100644 --- a/test/baseline/dir-payee.test +++ b/test/baseline/dir-payee.test @@ -8,6 +8,10 @@ payee Foo Bar Inc A 10 B +2012-03-26 * KFC + A 10 ; Payee: Kentucky Fried Chicken + B + 2014-05-13 * UNHELPFUL PAYEE ; will be read as being 'Foo Bar Inc' ; UUID: 2a2e21d434356f886c84371eebac6e44f1337fda A 20 @@ -16,6 +20,8 @@ payee Foo Bar Inc test reg 12-Mar-25 KFC A 10 10 B -10 0 +12-Mar-26 KFC A 10 10 + B -10 0 14-May-13 Foo Bar Inc A 20 20 B -20 0 end test diff --git a/test/baseline/opt-check-payees.test b/test/baseline/opt-check-payees.test index f8f4f592..75c70072 100644 --- a/test/baseline/opt-check-payees.test +++ b/test/baseline/opt-check-payees.test @@ -5,7 +5,10 @@ account Expenses:Food commodity EUR commodity GBP payee Phone + alias MobilePhone +payee Several tag food +tag Payee 2012-03-20 Phone Expenses:Phone 20.00 GBP @@ -20,18 +23,24 @@ tag food Expenses:Food 20.00 EUR Assets:Cash +2012-03-23 Several + Expenses:Food 10.00 EUR ; Payee: Food + Expenses:Phone 10.00 EUR ; Payee: MobilePhone + Assets:Cash + test bal --strict --check-payees - -20.00 EUR + -40.00 EUR -570.00 GBP Assets:Cash - 20.00 EUR + 40.00 EUR 570.00 GBP Expenses - 20.00 EUR Food + 30.00 EUR Food + 10.00 EUR 20.00 GBP Phone 550.00 GBP Rent -------------------- 0 __ERROR__ -Warning: "$FILE", line 14: Unknown payee 'Rent' -Warning: "$FILE", line 18: Unknown payee 'Food' +Warning: "$FILE", line 17: Unknown payee 'Rent' +Warning: "$FILE", line 21: Unknown payee 'Food' +Warning: "$FILE", line 27: Unknown payee 'Food' end test - |