clerk/internal/linter/testdata/multiple-omitted-amounts.txtar (view raw)
| 1 | -- in.journal -- |
| 2 | 2025-01-01 "two omitted amounts" |
| 3 | Expenses:Food |
| 4 | Expenses:Fun |
| 5 | Assets:Cash 100 USD |
| 6 | |
| 7 | 2025-01-02 "three omitted amounts" |
| 8 | Expenses:Food |
| 9 | Expenses:Fun |
| 10 | Expenses:Play |
| 11 | Assets:Cash 100 USD |
| 12 | Equity:Opening-Balances |
| 13 | |
| 14 | 2025-01-03 "one omitted amount (ok)" |
| 15 | Expenses:Food 50 USD |
| 16 | Assets:Cash |
| 17 | |
| 18 | 2025-01-04 "all have amounts (ok)" |
| 19 | Expenses:Food 50 USD |
| 20 | Assets:Cash 50 USD |
| 21 | |
| 22 | 2025-01-05 * reconcile or some s..stuff |
| 23 | Assets:Bank = 1.69 UAH |
| 24 | Assets:Cash = 2.00 UAH |
| 25 | |
| 26 | -- expect -- |
| 27 | in.journal:2:1: multiple-omitted-amounts: more than one posting has omitted amount |
| 28 | in.journal:3:1: multiple-omitted-amounts: more than one posting has omitted amount |
| 29 | in.journal:7:1: multiple-omitted-amounts: more than one posting has omitted amount |
| 30 | in.journal:8:1: multiple-omitted-amounts: more than one posting has omitted amount |
| 31 | in.journal:9:1: multiple-omitted-amounts: more than one posting has omitted amount |
| 32 | in.journal:11:1: multiple-omitted-amounts: more than one posting has omitted amount |