diff options
-rw-r--r-- | test/baseline/opt-prepend-format.test | 17 | ||||
-rw-r--r-- | test/baseline/opt-prepend-width.test | 17 |
2 files changed, 34 insertions, 0 deletions
diff --git a/test/baseline/opt-prepend-format.test b/test/baseline/opt-prepend-format.test index e69de29b..35b6e8d0 100644 --- a/test/baseline/opt-prepend-format.test +++ b/test/baseline/opt-prepend-format.test @@ -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 diff --git a/test/baseline/opt-prepend-width.test b/test/baseline/opt-prepend-width.test index e69de29b..488f737b 100644 --- a/test/baseline/opt-prepend-width.test +++ b/test/baseline/opt-prepend-width.test @@ -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 |