clerk/journal/parser/testdata/account_with_spaces.txtar (view raw)
| 1 | -- input -- |
| 2 | 2026-05-11 testies |
| 3 | expenses:account name 20.00 |
| 4 | assets:bank |
| 5 | -- expect -- |
| 6 | Journal |
| 7 | Transaction j:1:1-4:1 |
| 8 | Date: 2026-05-11 |
| 9 | Payee: "testies" j:1:12-2:0 |
| 10 | Posting j:2:1-3:1 |
| 11 | Account j:2:2-2:23 |
| 12 | SubAccount: "expenses" j:2:2-2:10 |
| 13 | SubAccount: "account name" j:2:11-2:23 |
| 14 | Amount j:2:25-2:25 |
| 15 | Quantity: 20 |
| 16 | Commodity: "" |
| 17 | CommodityPos: Before |
| 18 | HasSpace: false |
| 19 | Precision: 2 |
| 20 | Decimal: "." |
| 21 | Posting j:3:1-4:1 |
| 22 | Account j:3:2-4:0 |
| 23 | SubAccount: "assets" j:3:2-3:8 |
| 24 | SubAccount: "bank" j:3:9-4:0 |
| 25 | Amount: <elided> |