ledger/test/baseline/opt-prepend-width.test
2011-02-12 18:11:26 -05:00

17 lines
773 B
Text

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