clerk/journal/parser/testdata/bad_between_good.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: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:4:1-5:1 |
| 17 | Account j:4:5-4:16 |
| 18 | SubAccount: "assets" j:4:5-4:11 |
| 19 | SubAccount: "cash" j:4:12-4:16 |
| 20 | Amount j:4:18-4:18 |
| 21 | Quantity: 5 |
| 22 | Commodity: "$" |
| 23 | CommodityPos: Before |
| 24 | HasSpace: false |
| 25 | Precision: 0 |
| 26 | Decimal: "." |
| 27 | Errors |
| 28 | j:3:5-3:7: expected account name, got ATAT |