From c78f84cef288a47e590a58e778dbc065c659c83d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 26 Jun 2010 00:58:30 -0400 Subject: Added baseline tests for prepend-format/width --- test/baseline/opt-prepend-format.test | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'test/baseline/opt-prepend-format.test') 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 -- cgit v1.2.3