summaryrefslogtreecommitdiff
path: root/test/baseline/opt-payee.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-06 02:38:46 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-06 02:39:30 -0500
commita05d39b7226a7a383dc30132a2fac2bbd30a54ec (patch)
treeb8a91ddd64b1c7c43612f341bff62530aa986003 /test/baseline/opt-payee.test
parent05d0f1a17f9f4a9d659274d91dfb164055453637 (diff)
downloadfork-ledger-a05d39b7226a7a383dc30132a2fac2bbd30a54ec.tar.gz
fork-ledger-a05d39b7226a7a383dc30132a2fac2bbd30a54ec.tar.bz2
fork-ledger-a05d39b7226a7a383dc30132a2fac2bbd30a54ec.zip
Renamed --set-reported-account to just --account
This fits better with the --amount and --total options, which both change the amount and total used for calculation. Same with --account: it happens after filtering, but before calculation so that balance reports look as you'd expect.
Diffstat (limited to 'test/baseline/opt-payee.test')
-rw-r--r--test/baseline/opt-payee.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/baseline/opt-payee.test b/test/baseline/opt-payee.test
new file mode 100644
index 00000000..56ee0cde
--- /dev/null
+++ b/test/baseline/opt-payee.test
@@ -0,0 +1,11 @@
+reg --payee='account_base + ":" + commodity'
+<<<
+2007/02/02 RD VMMXX
+ Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
+ Income:Dividends:Vanguard:VMMXX $-0.35
+>>>1
+07-Feb-02 VMMXX:VMMXX As:In:Vanguard:VMMXX 0.350 VMMXX 0.350 VMMXX
+07-Feb-02 VMMXX:$ In:Di:Vanguard:VMMXX $-0.35 $-0.35
+ 0.350 VMMXX
+>>>2
+=== 0