summaryrefslogtreecommitdiff
path: root/test/baseline/opt-base.test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2014-07-14 20:42:44 -0400
committerMartin Michlmayr <tbm@cyrius.com>2014-07-14 20:42:44 -0400
commitddfabe06924bab1af33340f3afc3230b29d575ee (patch)
tree1f5de9418d2b9b57dd9452dbcce4cd45f598bcd1 /test/baseline/opt-base.test
parent37b8b5e3373151a75e720161ce860cbce074da32 (diff)
downloadfork-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-base.test')
-rw-r--r--test/baseline/opt-base.test3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/baseline/opt-base.test b/test/baseline/opt-base.test
index 060dee42..a987c385 100644
--- a/test/baseline/opt-base.test
+++ b/test/baseline/opt-base.test
@@ -16,12 +16,11 @@ test bal --base
7200s A
$8,000.00 Assets:Receivable
7200s B
- $3,200.00 Equity:Capital Gains
$-3,200.00
-288000s Income
-288000s Contracts
$-3,200.00 Gains
--------------------
- $8,000.00
+ $4,800.00
-273600s
end test