all repos

clerk @ f3b258b6c2faf2042ec439726a44238041014d24

missing tooling for ledger/hledger

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

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
tests: switch to txtar, 3 days ago
1
-- input --
2
2002/01/01 * 1a1a6305d06ce4b284dba0d267c23f69d70c20be
3
    af0628973ff35bd62ddb048fa41dd8d83c1c46fe       $474.31
4
    fc6f6f10f627ad1a5af9d488c98405a1498d019d
5
6
2002/03/01 * 9861ce541c17b11f627e71c26bf350b33141f62b
7
    0ecbb1b15e2cf3e515cc0f8533e5bb0fb2326728        $14.91
8
    fc6f6f10f627ad1a5af9d488c98405a1498d019d
9
-- expect --
10
Journal
11
  Transaction j:1:1-5:0
12
    Date: 2002/01/01
13
    State: "*"
14
    Payee: "1a1a6305d06ce4b284dba0d267c23f69d70c20be" j:1:14-2:0
15
    Posting j:2:1-3:1
16
      Account j:2:5-2:45
17
        SubAccount: "af0628973ff35bd62ddb048fa41dd8d83c1c46fe" j:2:5-2:45
18
      Amount j:2:52-2:52
19
        Quantity: 474.31
20
        Commodity: "$"
21
        CommodityPos: Before
22
        HasSpace: false
23
        Precision: 2
24
        Decimal: "."
25
    Posting j:3:1-5:0
26
      Account j:3:5-4:0
27
        SubAccount: "fc6f6f10f627ad1a5af9d488c98405a1498d019d" j:3:5-4:0
28
      Amount: <elided>
29
  BlankLine j:5:0-5:1
30
  Transaction j:5:1-8:1
31
    Date: 2002/03/01
32
    State: "*"
33
    Payee: "9861ce541c17b11f627e71c26bf350b33141f62b" j:5:14-6:0
34
    Posting j:6:1-7:1
35
      Account j:6:5-6:45
36
        SubAccount: "0ecbb1b15e2cf3e515cc0f8533e5bb0fb2326728" j:6:5-6:45
37
      Amount j:6:53-6:53
38
        Quantity: 14.91
39
        Commodity: "$"
40
        CommodityPos: Before
41
        HasSpace: false
42
        Precision: 2
43
        Decimal: "."
44
    Posting j:7:1-8:1
45
      Account j:7:5-8:0
46
        SubAccount: "fc6f6f10f627ad1a5af9d488c98405a1498d019d" j:7:5-8:0
47
      Amount: <elided>