summaryrefslogtreecommitdiff
path: root/test/baseline/opt-plot-amount-format.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-06-18 16:08:43 +0100
committerJohn Wiegley <johnw@newartisans.com>2009-06-18 16:08:43 +0100
commit8d97adec7bcba851dcf3e1d659767e7bf8de20ca (patch)
tree1e2a72827158498687ab6636383a321d8c9574ea /test/baseline/opt-plot-amount-format.test
parent8dbf458e144dce2b1c6d864fd6a479026ccffaeb (diff)
downloadfork-ledger-8d97adec7bcba851dcf3e1d659767e7bf8de20ca.tar.gz
fork-ledger-8d97adec7bcba851dcf3e1d659767e7bf8de20ca.tar.bz2
fork-ledger-8d97adec7bcba851dcf3e1d659767e7bf8de20ca.zip
Restored --plot-amount-format, --plot-total-format
Diffstat (limited to 'test/baseline/opt-plot-amount-format.test')
-rw-r--r--test/baseline/opt-plot-amount-format.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/baseline/opt-plot-amount-format.test b/test/baseline/opt-plot-amount-format.test
new file mode 100644
index 00000000..9c5484af
--- /dev/null
+++ b/test/baseline/opt-plot-amount-format.test
@@ -0,0 +1,10 @@
+reg -j --plot-amount-format='X %(format_date(date, "%Y-%m-%d")) Y %(quantity(scrub(display_amount)))\n'
+<<<
+2007/02/02 RD VMMXX
+ Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
+ Income:Dividends:Vanguard:VMMXX $-0.35
+>>>1
+X 2007-02-02 Y 0.35
+X 2007-02-02 Y -0.35
+>>>2
+=== 0