dev: errors: update functional tests
This commit is contained in:
parent
47ae346b21
commit
ed72763987
@ -7,9 +7,8 @@ $$$ hledger check -f assertions.j
|
|||||||
This balance assertion failed.
|
This balance assertion failed.
|
||||||
In account: a
|
In account: a
|
||||||
and commodity:
|
and commodity:
|
||||||
this balance was asserted: 1
|
this balance was asserted: 1
|
||||||
but the actual balance is: 0
|
but the calculated balance is: 0
|
||||||
a difference of: 1
|
a difference of: 1
|
||||||
|
/
|
||||||
Consider viewing this account'/
|
|
||||||
>>>= 1
|
>>>= 1
|
||||||
|
|||||||
@ -97,7 +97,7 @@ $ hledger -f - print --explicit
|
|||||||
assets $-135
|
assets $-135
|
||||||
expenses:other £200
|
expenses:other £200
|
||||||
$ hledger -f - print
|
$ hledger -f - print
|
||||||
>2 /unbalanced transaction/
|
>2 /transaction is unbalanced/
|
||||||
>= !0
|
>= !0
|
||||||
|
|
||||||
# 9. another
|
# 9. another
|
||||||
@ -170,7 +170,7 @@ $ hledger -f - balance -N
|
|||||||
|
|
||||||
# 15. Should not infer prices when --strict is specified
|
# 15. Should not infer prices when --strict is specified
|
||||||
$ hledger -f - balance --strict
|
$ hledger -f - balance --strict
|
||||||
>2 /unbalanced transaction/
|
>2 /transaction is unbalanced/
|
||||||
>=1
|
>=1
|
||||||
|
|
||||||
<
|
<
|
||||||
@ -181,7 +181,7 @@ $ hledger -f - balance --strict
|
|||||||
# 16. When commodity price is specified implicitly, transaction should
|
# 16. When commodity price is specified implicitly, transaction should
|
||||||
# NOT be considered balanced out when BOTH amounts are negative
|
# NOT be considered balanced out when BOTH amounts are negative
|
||||||
$ hledger -f - balance
|
$ hledger -f - balance
|
||||||
>2 /unbalanced transaction/
|
>2 /transaction is unbalanced/
|
||||||
>=1
|
>=1
|
||||||
|
|
||||||
# 17. Differently-priced lots of a commodity should be merged in balance report
|
# 17. Differently-priced lots of a commodity should be merged in balance report
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user