summaryrefslogtreecommitdiff
path: root/test/baseline/opt-account.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-account.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-account.test')
-rw-r--r--test/baseline/opt-account.test12
1 files changed, 4 insertions, 8 deletions
diff --git a/test/baseline/opt-account.test b/test/baseline/opt-account.test
index d89ea52d..7cda3c4d 100644
--- a/test/baseline/opt-account.test
+++ b/test/baseline/opt-account.test
@@ -1,15 +1,11 @@
-bal --account=Master
+reg --account='payee + ":" + commodity'
<<<
2007/02/02 RD VMMXX
Assets:Investments:Vanguard:VMMXX 0.350 VMMXX @ $1.00
Income:Dividends:Vanguard:VMMXX $-0.35
>>>1
- $-0.35
- 0.350 VMMXX Master
- 0.350 VMMXX Assets:Investments:Vanguard:VMMXX
- $-0.35 Income:Dividends:Vanguard:VMMXX
---------------------
- $-0.35
- 0.350 VMMXX
+07-Feb-02 RD VMMXX RD VMMXX:VMMXX 0.350 VMMXX 0.350 VMMXX
+07-Feb-02 RD VMMXX RD VMMXX:$ $-0.35 $-0.35
+ 0.350 VMMXX
>>>2
=== 0