diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2014-07-14 20:42:44 -0400 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2014-07-14 20:42:44 -0400 |
commit | ddfabe06924bab1af33340f3afc3230b29d575ee (patch) | |
tree | 1f5de9418d2b9b57dd9452dbcce4cd45f598bcd1 /test/baseline/opt-price.test | |
parent | 37b8b5e3373151a75e720161ce860cbce074da32 (diff) | |
download | fork-ledger-ddfabe06924bab1af33340f3afc3230b29d575ee.tar.gz fork-ledger-ddfabe06924bab1af33340f3afc3230b29d575ee.tar.bz2 fork-ledger-ddfabe06924bab1af33340f3afc3230b29d575ee.zip |
Update tests for fix for bug #713
John's fix for bug #713 changes the way basis cost are calculated.
The patch also fixes #712, which caused ledger to create automatic
Equity:Capital Gains that were not correct. Update the test cases
accordingly after verifying the new output.
Diffstat (limited to 'test/baseline/opt-price.test')
-rw-r--r-- | test/baseline/opt-price.test | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/baseline/opt-price.test b/test/baseline/opt-price.test index 2ebd061e..2a9778cc 100644 --- a/test/baseline/opt-price.test +++ b/test/baseline/opt-price.test @@ -18,7 +18,7 @@ end test test reg -B equities 08-Jan-01 Purchase Apple shares Equities $2000 $2000 -08-Jun-30 Sell some Apple sha.. Equities $-1250 $750 +08-Jun-30 Sell some Apple sha.. Equities $-1000 $1000 end test test reg --end 2009/06/26 -V equities @@ -31,8 +31,9 @@ end test test reg --end 2009/06/26 -G equities 08-Jun-30 Commodities revalued <Revalued> $500 $500 -09-Jan-31 Commodities revalued <Revalued> $250 $750 -09-Jun-26 Commodities revalued <Revalued> $500 $1250 +08-Jun-30 Sell some Apple sha.. Equities $-250 $250 +09-Jan-31 Commodities revalued <Revalued> $250 $500 +09-Jun-26 Commodities revalued <Revalued> $500 $1000 end test test reg -I equities |