clerk/journal/parser/testdata/recovery_after_bad_posting.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:3:1-5:0 |
| 6 | Account j:3:5-4:0 |
| 7 | SubAccount: "assets" j:3:5-3:11 |
| 8 | SubAccount: "checking" j:3:12-4:0 |
| 9 | Amount: <elided> |
| 10 | BlankLine j:5:0-5:1 |
| 11 | Transaction j:5:1-8:1 |
| 12 | Date: 2024/01/02 |
| 13 | Payee: "salary" j:5:12-6:0 |
| 14 | Posting j:6:1-7:1 |
| 15 | Account j:6:5-6:18 |
| 16 | SubAccount: "income" j:6:5-6:11 |
| 17 | SubAccount: "salary" j:6:12-6:18 |
| 18 | Amount j:6:20-6:20 |
| 19 | Quantity: 1000 |
| 20 | Commodity: "$" |
| 21 | CommodityPos: Before |
| 22 | HasSpace: false |
| 23 | Precision: 0 |
| 24 | Decimal: "." |
| 25 | Posting j:7:1-8:1 |
| 26 | Account j:7:5-8:0 |
| 27 | SubAccount: "assets" j:7:5-7:11 |
| 28 | SubAccount: "checking" j:7:12-8:0 |
| 29 | Amount: <elided> |
| 30 | Errors |
| 31 | j:2:5-2:7: expected account name, got ATAT |