clerk/journal/parser/testdata/transaction_with_spaced_account_name.txtar (view raw)
| 1 | -- input -- |
| 2 | 2022-01-01 opening balances |
| 3 | assets 21 = 21 |
| 4 | equity:opening/closing balances |
| 5 | -- expect -- |
| 6 | Journal |
| 7 | Transaction j:1:1-4:1 |
| 8 | Date: 2022-01-01 |
| 9 | Payee: "opening balances" j:1:12-2:0 |
| 10 | Posting j:2:1-3:1 |
| 11 | Account j:2:5-2:11 |
| 12 | SubAccount: "assets" j:2:5-2:11 |
| 13 | Amount j:2:31-2:31 |
| 14 | Quantity: 21 |
| 15 | Commodity: "" |
| 16 | CommodityPos: Before |
| 17 | HasSpace: false |
| 18 | Precision: 0 |
| 19 | Decimal: "." |
| 20 | BalanceAssertion j:2:34-3:0 |
| 21 | IsStrict: false |
| 22 | IsInclusive: false |
| 23 | Amount j:2:36-2:36 |
| 24 | Quantity: 21 |
| 25 | Commodity: "" |
| 26 | CommodityPos: Before |
| 27 | HasSpace: false |
| 28 | Precision: 0 |
| 29 | Decimal: "." |
| 30 | Posting j:3:1-4:1 |
| 31 | Account j:3:5-4:0 |
| 32 | SubAccount: "equity" j:3:5-3:11 |
| 33 | SubAccount: "opening/closing balances" j:3:12-4:0 |
| 34 | Amount: <elided> |