all repos

clerk @ f3b258b6c2faf2042ec439726a44238041014d24

missing tooling for ledger/hledger

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

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
tests: switch to txtar, 2 days ago
1
-- input --
2
2024/01/01 groceries
3
	Expenses:Good  $10.00 ; food
4
	Assets:Checking
5
-- expect --
6
Journal
7
  Transaction j:1:1-4:1
8
    Date: 2024/01/01
9
    Payee: "groceries" j:1:12-2:0
10
    Posting j:2:1-3:1
11
      Account j:2:2-2:15
12
        SubAccount: "Expenses" j:2:2-2:10
13
        SubAccount: "Good" j:2:11-2:15
14
      Amount j:2:17-2:17
15
        Quantity: 10
16
        Commodity: "$"
17
        CommodityPos: Before
18
        HasSpace: false
19
        Precision: 2
20
        Decimal: "."
21
      Comment j:2:24-3:0
22
        Marker: ";"
23
        Text: "food"
24
    Posting j:3:1-4:1
25
      Account j:3:2-4:0
26
        SubAccount: "Assets" j:3:2-3:8
27
        SubAccount: "Checking" j:3:9-4:0
28
      Amount: <elided>