File: opt-prepend-width.test

package info (click to toggle)
ledger 3.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,964 kB
  • sloc: cpp: 39,393; python: 4,476; perl: 1,309; sh: 477; lisp: 435; yacc: 103; makefile: 58
file content (22 lines) | stat: -rw-r--r-- 938 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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) " --prepend-width=10
    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) " --prepend-width=10
    VMMXX 07-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

test accounts --prepend-format "%(account_base) " --prepend-width=10
    VMMXX Assets:Investments:Vanguard:VMMXX
    VMMXX Income:Dividends:Vanguard:VMMXX
end test