summaryrefslogtreecommitdiff
path: root/test/baseline/opt-group-title-format.test
blob: a2a1a984b705d9c5fffcbc35faabf0dee9cbcc6a (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
2012-03-20 * Test GBP
    A          -10.00 GBP
    B

2012-03-20 * Test EUR
    A          -10.00 EUR
    B

2012-03-22 * Test GBP
    A          -10.00 GBP
    B

2012-03-22 * Test EUR
    A          -10.00 EUR
    B

test bal --group-by payee --group-title-format "-%(value)-\n"
-Test EUR-
          -20.00 EUR  A
           20.00 EUR  B
--------------------
                   0

-Test GBP-
          -20.00 GBP  A
           20.00 GBP  B
--------------------
                   0
end test

test bal --group-by date --group-title-format "|%(value)|\n"
|2012/03/20|
          -10.00 EUR
          -10.00 GBP  A
           10.00 EUR
           10.00 GBP  B
--------------------
                   0

|2012/03/22|
          -10.00 EUR
          -10.00 GBP  A
           10.00 EUR
           10.00 GBP  B
--------------------
                   0
end test