clerk/journal/parser/testdata/transaction_with_trailing_indent.txtar (view raw)
| 1 | -- input -- |
| 2 | |
| 3 | 2013/1/1 * pay taxes |
| 4 | expenses:personal:tax $1250 |
| 5 | assets:bank:checking $-1250 |
| 6 | |
| 7 | -- expect -- |
| 8 | Journal |
| 9 | BlankLine j:2:0-2:1 |
| 10 | Transaction j:2:1-6:0 |
| 11 | Date: 2013/01/01 |
| 12 | State: "*" |
| 13 | Payee: "pay taxes" j:2:12-3:0 |
| 14 | Posting j:3:1-4:1 |
| 15 | Account j:3:5-3:26 |
| 16 | SubAccount: "expenses" j:3:5-3:13 |
| 17 | SubAccount: "personal" j:3:14-3:22 |
| 18 | SubAccount: "tax" j:3:23-3:26 |
| 19 | Amount j:3:40-3:40 |
| 20 | Quantity: 1250 |
| 21 | Commodity: "$" |
| 22 | CommodityPos: Before |
| 23 | HasSpace: false |
| 24 | Precision: 0 |
| 25 | Decimal: "." |
| 26 | Posting j:4:1-6:0 |
| 27 | Account j:4:5-4:25 |
| 28 | SubAccount: "assets" j:4:5-4:11 |
| 29 | SubAccount: "bank" j:4:12-4:16 |
| 30 | SubAccount: "checking" j:4:17-4:25 |
| 31 | Amount j:4:40-4:40 |
| 32 | Quantity: -1250 |
| 33 | Commodity: "$" |
| 34 | CommodityPos: Before |
| 35 | HasSpace: false |
| 36 | Precision: 0 |
| 37 | Decimal: "." |
| 38 | BlankLine j:6:0-6:1 |