summaryrefslogtreecommitdiff
path: root/test/baseline/opt-format.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-21 02:24:41 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-21 02:24:41 -0400
commit5d50d895bf4aaa139c4b632820b661de383b2ef3 (patch)
tree0608ed369352bb3e4f5f91abf2d21f14696c5d38 /test/baseline/opt-format.test
parent7bede3ac76f152f0c2f113d8c38a3d03c35c405a (diff)
downloadfork-ledger-5d50d895bf4aaa139c4b632820b661de383b2ef3.tar.gz
fork-ledger-5d50d895bf4aaa139c4b632820b661de383b2ef3.tar.bz2
fork-ledger-5d50d895bf4aaa139c4b632820b661de383b2ef3.zip
Added several more baseline tests
Diffstat (limited to 'test/baseline/opt-format.test')
-rw-r--r--test/baseline/opt-format.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/baseline/opt-format.test b/test/baseline/opt-format.test
new file mode 100644
index 00000000..9841ea1a
--- /dev/null
+++ b/test/baseline/opt-format.test
@@ -0,0 +1,10 @@
+reg --format='%(account) = %(strip(amount))\n'
+<<<
+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 = 0.350 VMMXX
+Income:Dividends:Vanguard:VMMXX = $-0.35
+>>>2
+=== 0