Added baseline tests for prepend-format/width
This commit is contained in:
parent
bd5a136ad0
commit
c78f84cef2
2 changed files with 34 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
bal --prepend-format "%(account_base)"
|
||||
<<<
|
||||
2007/02/02 RD VMMXX
|
||||
Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
|
||||
Income:Dividends:Vanguard:VMMXX $-0.35
|
||||
>>>
|
||||
VMMXX 0.350 VMMXX Assets:Investments:Vanguard:VMMXX
|
||||
VMMXX $-0.35 Income:Dividends:Vanguard:VMMXX
|
||||
--------------------
|
||||
$-0.35
|
||||
0.350 VMMXX
|
||||
=== 0
|
||||
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
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
bal --prepend-format "%(account_base) " --prepend-width=10
|
||||
<<<
|
||||
2007/02/02 RD VMMXX
|
||||
Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
|
||||
Income:Dividends:Vanguard:VMMXX $-0.35
|
||||
>>>
|
||||
VMMXX 0.350 VMMXX Assets:Investments:Vanguard:VMMXX
|
||||
VMMXX $-0.35 Income:Dividends:Vanguard:VMMXX
|
||||
--------------------
|
||||
$-0.35
|
||||
0.350 VMMXX
|
||||
=== 0
|
||||
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
|
||||
Loading…
Add table
Reference in a new issue