diff --git a/hledger/test/errors/assertions.test b/hledger/test/errors/assertions.test index 986869c04..667923711 100644 --- a/hledger/test/errors/assertions.test +++ b/hledger/test/errors/assertions.test @@ -7,9 +7,8 @@ $$$ hledger check -f assertions.j This balance assertion failed. In account: a and commodity: -this balance was asserted: 1 -but the actual balance is: 0 -a difference of: 1 - -Consider viewing this account'/ +this balance was asserted: 1 +but the calculated balance is: 0 +a difference of: 1 +/ >>>= 1 diff --git a/hledger/test/journal/transaction-prices.test b/hledger/test/journal/transaction-prices.test index 925981b99..b94809e3b 100644 --- a/hledger/test/journal/transaction-prices.test +++ b/hledger/test/journal/transaction-prices.test @@ -97,7 +97,7 @@ $ hledger -f - print --explicit assets $-135 expenses:other £200 $ hledger -f - print ->2 /unbalanced transaction/ +>2 /transaction is unbalanced/ >= !0 # 9. another @@ -170,7 +170,7 @@ $ hledger -f - balance -N # 15. Should not infer prices when --strict is specified $ hledger -f - balance --strict ->2 /unbalanced transaction/ +>2 /transaction is unbalanced/ >=1 < @@ -181,7 +181,7 @@ $ hledger -f - balance --strict # 16. When commodity price is specified implicitly, transaction should # NOT be considered balanced out when BOTH amounts are negative $ hledger -f - balance ->2 /unbalanced transaction/ +>2 /transaction is unbalanced/ >=1 # 17. Differently-priced lots of a commodity should be merged in balance report