dev: errors: update functional tests

This commit is contained in:
Simon Michael 2022-07-23 02:40:29 +01:00
parent 47ae346b21
commit ed72763987
2 changed files with 7 additions and 8 deletions

View File

@ -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

View File

@ -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