summaryrefslogtreecommitdiff
path: root/test/baseline/opt-prices-format.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-06-18 01:49:38 +0100
committerJohn Wiegley <johnw@newartisans.com>2009-06-18 01:50:06 +0100
commit8dbf458e144dce2b1c6d864fd6a479026ccffaeb (patch)
tree6d6268cf7b8f99ae18d39e45857ce423dd159188 /test/baseline/opt-prices-format.test
parent1fd4387b678782f2ed90484d36f8980b64d58aa3 (diff)
downloadfork-ledger-8dbf458e144dce2b1c6d864fd6a479026ccffaeb.tar.gz
fork-ledger-8dbf458e144dce2b1c6d864fd6a479026ccffaeb.tar.bz2
fork-ledger-8dbf458e144dce2b1c6d864fd6a479026ccffaeb.zip
Restored --prices-format options
Diffstat (limited to 'test/baseline/opt-prices-format.test')
-rw-r--r--test/baseline/opt-prices-format.test19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/baseline/opt-prices-format.test b/test/baseline/opt-prices-format.test
new file mode 100644
index 00000000..ec93d9cd
--- /dev/null
+++ b/test/baseline/opt-prices-format.test
@@ -0,0 +1,19 @@
+prices --prices-format='%(datetime) %(scrub(display_amount))\n'
+<<<
+P 2009/01/01 13:30:00 AAPL $10.00
+P 2009/01/01 14:30:00 AAPL $20.00
+P 2009/01/01 15:30:00 AAPL $30.00
+P 2009/01/01 16:30:00 AAPL $40.00
+P 2009/02/01 17:30:00 AAPL $50.00
+
+2009/03/01 Purchase
+ Assets:Brokerage 100 AAPL
+ Income
+>>>1
+09-Jan-01 13:30:00 $10.00
+09-Jan-01 14:30:00 $20.00
+09-Jan-01 15:30:00 $30.00
+09-Jan-01 16:30:00 $40.00
+09-Feb-01 17:30:00 $50.00
+>>>2
+=== 0