clerk/journal/parser/testdata/comment_between_bad_postings.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-7:1 |
| 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 | Posting j:6:1-7:1 |
| 17 | Account j:6:5-7:0 |
| 18 | SubAccount: "assets" j:6:5-6:11 |
| 19 | SubAccount: "checking" j:6:12-7:0 |
| 20 | Amount: <elided> |
| 21 | Errors |
| 22 | j:3:5-3:7: expected account name, got ATAT |
| 23 | j:4:5-4:6: expected account name, got SEMICOLON |
| 24 | j:5:5-5:6: expected account name, got AT |