summaryrefslogtreecommitdiff
path: root/test/regress/align-amounts.test
blob: 5e79beb73217ebd61d349a8406d3e2da73795cf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
; Amounts should still align even though the account names are much longer than
; the default --account-width.

2023/01/01 Transaction with short account names
    Assets:Short  -10 ABC
    Assets:Short  -10 ABC
    Expenses:Short  20 ABC

2023/01/01 Transaction with long account names
    Assets:Very:Long:Account:Name:That:Will:Push:The:Amount   -10 ABC
    Assets:Another:Long:Account:Name:That:Will:Push:The:Amount   -10 ABC
    Expenses:Short  20 ABC

test print
2023/01/01 Transaction with short account names
    Assets:Short                             -10 ABC
    Assets:Short                             -10 ABC
    Expenses:Short                            20 ABC

2023/01/01 Transaction with long account names
    Assets:Very:Long:Account:Name:That:Will:Push:The:Amount        -10 ABC
    Assets:Another:Long:Account:Name:That:Will:Push:The:Amount     -10 ABC
    Expenses:Short                                                  20 ABC
end test