clerk/journal/parser/testdata/all_postings_bad.txtar (view raw)
| 1 | -- input -- |
| 2 | 2024/01/01 groceries |
| 3 | @@@bad1 |
| 4 | @bad2 |
| 5 | @bad3 |
| 6 | -- expect -- |
| 7 | Journal |
| 8 | Transaction j:1:1-5:1 |
| 9 | Date: 2024/01/01 |
| 10 | Payee: "groceries" j:1:12-2:0 |
| 11 | Errors |
| 12 | j:2:5-2:7: expected account name, got ATAT |
| 13 | j:3:5-3:6: expected account name, got AT |
| 14 | j:4:5-4:6: expected account name, got AT |