Added baseline tests for --print,register-format
This commit is contained in:
parent
4253c2a35d
commit
6dd362dfde
2 changed files with 20 additions and 0 deletions
10
test/baseline/opt-print-format.test
Normal file
10
test/baseline/opt-print-format.test
Normal 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
|
||||||
10
test/baseline/opt-register-format.test
Normal file
10
test/baseline/opt-register-format.test
Normal 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
|
||||||
Loading…
Add table
Reference in a new issue