all repos

clerk @ master

missing tooling for ledger/hledger

clerk/journal/parser/testdata/transaction_with_quoted_commodity.txtar (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
tests: switch to txtar, 3 days ago
1
-- input --
2
2025-06-16 groceries
3
    expenses:food  10.00 "EUR"
4
    assets:cash
5
-- expect --
6
Journal
7
  Transaction j:1:1-4:1
8
    Date: 2025-06-16
9
    Payee: "groceries" j:1:12-2:0
10
    Posting j:2:1-3:1
11
      Account j:2:5-2:18
12
        SubAccount: "expenses" j:2:5-2:13
13
        SubAccount: "food" j:2:14-2:18
14
      Amount j:2:20-2:20
15
        Quantity: 10
16
        Commodity: "EUR"
17
        CommodityPos: After
18
        HasSpace: true
19
        Precision: 2
20
        Decimal: "."
21
    Posting j:3:1-4:1
22
      Account j:3:5-4:0
23
        SubAccount: "assets" j:3:5-3:11
24
        SubAccount: "cash" j:3:12-4:0
25
      Amount: <elided>