gnucash maint: [test-engine-extras] don't create splits of opposing amt/value signs

Christopher Lam clam at
Sun Nov 21 10:38:38 EST 2021

Updated	 via (commit)
	from (commit)

commit d861c65020a018d7d690782a599f4d23fab0407f
Author: Christopher Lam <christopher.lck at>
Date:   Sun Nov 21 23:25:18 2021 +0800

    [test-engine-extras] don't create splits of opposing amt/value signs
    Splits' value and amount should never be of opposite signs. Fix
    test book which had created this incorrect value/amount
    pair. Strengthen env-create-multisplit-transaction to disallow
    test book errors.

Summary of changes:
 bindings/guile/test/test-engine-extras.scm                    | 6 ++++++
 gnucash/report/reports/standard/test/test-ifrs-cost-basis.scm | 2 +-
 gnucash/report/test/test-commodity-utils.scm                  | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

More information about the gnucash-patches mailing list