diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2014-07-14 20:43:24 -0400 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2014-07-14 20:43:24 -0400 |
commit | 2854ecdd1930ea98c2aecc80d08f37ef8ee5f93d (patch) | |
tree | 561af396959b1afa0e9809444149d8e198af5aed /test/regress | |
parent | ddfabe06924bab1af33340f3afc3230b29d575ee (diff) | |
download | fork-ledger-2854ecdd1930ea98c2aecc80d08f37ef8ee5f93d.tar.gz fork-ledger-2854ecdd1930ea98c2aecc80d08f37ef8ee5f93d.tar.bz2 fork-ledger-2854ecdd1930ea98c2aecc80d08f37ef8ee5f93d.zip |
Regenerate tests for fix for bug #713
The fix for bug #713 changes the way capital gains as well as basis costs
are shown. All of these tests use the same input file, which includes
capital gains and losses. The tests are too long to update and verify
manually but I verified some files and believe the output is correct.
I've therefore updated the tests with the output of the fixed ledger.
Let's take baseline/opt-lot-dates.test as one example. In the past,
ledger generated the following incorrect Equity entries:
190.42G Equity
236.83G Capital Gains
-46.41G Capital Losses
If you compare the end of the diff of the test, you'll see:
- 35.42G
+ -155.00G
The difference is: 35.42 - -155.00 = 190.42
This matches exactly the Equity entries previously generated, which
shouldn't be there.
Diffstat (limited to 'test/regress')
0 files changed, 0 insertions, 0 deletions