clerk/journal/parser/testdata/illegal_in_posting.txtar (view raw)
| 1 | -- input -- |
| 2 | 2024/01/01 groceries |
| 3 | @@@invalid |
| 4 | assets:checking |
| 5 | -- expect -- |
| 6 | Journal |
| 7 | Transaction j:1:1-4:1 |
| 8 | Date: 2024/01/01 |
| 9 | Payee: "groceries" j:1:12-2:0 |
| 10 | Posting j:3:1-4:1 |
| 11 | Account j:3:5-4:0 |
| 12 | SubAccount: "assets" j:3:5-3:11 |
| 13 | SubAccount: "checking" j:3:12-4:0 |
| 14 | Amount: <elided> |
| 15 | Errors |
| 16 | j:2:5-2:7: expected account name, got ATAT |