summaryrefslogtreecommitdiff
path: root/test/baseline/opt-prepend-format.test
blob: 105930f129da85fc8134174041913c32b1e8b9d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2007/02/02 RD VMMXX
    Assets:Investments:Vanguard:VMMXX  0.350 VMMXX @ $1.00
    Income:Dividends:Vanguard:VMMXX        $-0.35

test bal --prepend-format "%(account_base)"
VMMXX         0.350 VMMXX  Assets:Investments:Vanguard:VMMXX
VMMXX              $-0.35  Income:Dividends:Vanguard:VMMXX
--------------------
              $-0.35
         0.350 VMMXX
end test

test reg --prepend-format "%(account_base)"
VMMXX07-Feb-02 RD VMMXX              As:Inves:Vanguar:VMMXX  0.350 VMMXX  0.350 VMMXX
VMMXX                                In:Divid:Vanguar:VMMXX       $-0.35       $-0.35
                                                                     0.350 VMMXX
end test