Added baseline tests for --print,register-format

This commit is contained in:
John Wiegley 2009-06-18 16:12:27 +01:00
parent 4253c2a35d
commit 6dd362dfde
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,10 @@
print --print-format='%(amount)\n'
<<<
2007/02/02 RD VMMXX
Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
Income:Dividends:Vanguard:VMMXX $-0.35
>>>1
0.350 VMMXX {$1.00} [2007/02/02]
$-0.35
>>>2
=== 0

View file

@ -0,0 +1,10 @@
reg --register-format='%(amount)\n'
<<<
2007/02/02 RD VMMXX
Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
Income:Dividends:Vanguard:VMMXX $-0.35
>>>1
0.350 VMMXX {$1.00} [2007/02/02]
$-0.35
>>>2
=== 0