summaryrefslogtreecommitdiff
path: root/test/baseline/opt-balance-format.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-20 15:36:48 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-20 15:41:49 -0400
commit04bbf2ba962c3f06d513d735340a73027192f8a8 (patch)
treea790b5f805c60b4ab3d05d97ad90e5318723547d /test/baseline/opt-balance-format.test
parent31feaad1056cda45f3b8cfa0faff45ddc8487c09 (diff)
downloadfork-ledger-04bbf2ba962c3f06d513d735340a73027192f8a8.tar.gz
fork-ledger-04bbf2ba962c3f06d513d735340a73027192f8a8.tar.bz2
fork-ledger-04bbf2ba962c3f06d513d735340a73027192f8a8.zip
Added test for --balance-format
Diffstat (limited to 'test/baseline/opt-balance-format.test')
-rw-r--r--test/baseline/opt-balance-format.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/baseline/opt-balance-format.test b/test/baseline/opt-balance-format.test
new file mode 100644
index 00000000..cfcf2df4
--- /dev/null
+++ b/test/baseline/opt-balance-format.test
@@ -0,0 +1,10 @@
+bal --args-only --balance-format='%(account)\n' --no-total
+<<<
+2007/02/02 RD VMMXX
+ Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
+ Income:Dividends:Vanguard:VMMXX $-0.35
+>>>1
+Assets:Investments:Vanguard:VMMXX
+Income:Dividends:Vanguard:VMMXX
+>>>2
+=== 0