clerk/journal/parser/testdata/golden/Parser_ParseFile__transaction_with_strange_commodity_symbols.golden (view raw)
Oleksandr Smirnov
Oleksandr Smirnov
olexsmir@gmail.com parser: add more spec compliance..., 13 days ago
olexsmir@gmail.com parser: add more spec compliance..., 13 days ago
| 1 | Journal |
| 2 | Transaction j:1:1-2:1 |
| 3 | Date: 2024-01-01 |
| 4 | Payee: "groceries" j:1:12-2:0 |
| 5 | Transaction j:2:1-6:0 |
| 6 | Date: 2026-05-20 |
| 7 | Posting j:3:1-4:1 |
| 8 | Account "asdf" j:3:3-3:7 |
| 9 | Amount j:3:9-3:9 |
| 10 | Quantity: 123 |
| 11 | Commodity: "$€£" |
| 12 | CommodityPos: After |
| 13 | HasSpace: true |
| 14 | Precision: 0 |
| 15 | Decimal: "." |
| 16 | Posting j:4:1-6:0 |
| 17 | Account "asdf2" j:4:3-5:0 |
| 18 | Amount: <elided> |
| 19 | BlankLine j:6:0-6:1 |
| 20 | Transaction j:6:1-9:1 |
| 21 | Date: 2026-05-20 |
| 22 | Posting j:7:1-8:1 |
| 23 | Account "asdf" j:7:3-7:7 |
| 24 | Amount j:7:9-7:9 |
| 25 | Quantity: 123 |
| 26 | Commodity: "bytes" |
| 27 | CommodityPos: After |
| 28 | HasSpace: true |
| 29 | Precision: 0 |
| 30 | Decimal: "." |
| 31 | Posting j:8:1-9:1 |
| 32 | Account "asdf2" j:8:3-9:0 |
| 33 | Amount: <elided> |