clerk/journal/parser/testdata/bad_posting_at_end.golden (view raw)
Oleksandr Smirnov
Oleksandr Smirnov
olexsmir@gmail.com parser: separate account names by :, 1 month ago
olexsmir@gmail.com parser: separate account names by :, 1 month ago
| 1 | Journal |
| 2 | Transaction j:1:1-5:0 |
| 3 | Date: 2024/01/01 |
| 4 | Payee: "groceries" j:1:12-2:0 |
| 5 | Posting j:2:1-3:1 |
| 6 | Account j:2:5-2:18 |
| 7 | SubAccount: "expenses" j:2:5-2:13 |
| 8 | SubAccount: "food" j:2:14-2:18 |
| 9 | Amount j:2:20-2:20 |
| 10 | Quantity: 10 |
| 11 | Commodity: "$" |
| 12 | CommodityPos: Before |
| 13 | HasSpace: false |
| 14 | Precision: 0 |
| 15 | Decimal: "." |
| 16 | BlankLine j:5:0-5:1 |
| 17 | Transaction j:5:1-8:1 |
| 18 | Date: 2024/01/02 |
| 19 | Payee: "salary" j:5:12-6:0 |
| 20 | Posting j:6:1-7:1 |
| 21 | Account j:6:5-6:18 |
| 22 | SubAccount: "income" j:6:5-6:11 |
| 23 | SubAccount: "salary" j:6:12-6:18 |
| 24 | Amount j:6:20-6:20 |
| 25 | Quantity: 1000 |
| 26 | Commodity: "$" |
| 27 | CommodityPos: Before |
| 28 | HasSpace: false |
| 29 | Precision: 0 |
| 30 | Decimal: "." |
| 31 | Posting j:7:1-8:1 |
| 32 | Account j:7:5-8:0 |
| 33 | SubAccount: "assets" j:7:5-7:11 |
| 34 | SubAccount: "checking" j:7:12-8:0 |
| 35 | Amount: <elided> |
| 36 | Errors |
| 37 | j:3:5-3:7: expected account name, got ATAT |