hledger/hledger/test/errors/balanced.test
Simon Michael 5f1bf0404a imp:check: more intuitive "balanced..." check names
balancedwithautoconversion -> autobalanced
balancednoautoconversion   -> balanced
2023-08-22 08:38:52 +01:00

12 lines
334 B
Plaintext

$ hledger check balanced -f balanced.j
>2 /hledger: Error: .*balanced.j:6-8:
6 \| 2022-01-01
\| a 1 A
\| b -1 B
This multi-commodity transaction is unbalanced.
Automatic commodity conversion is not enabled.
The real postings' sum should be 0 but is: 1 A, -1 B
Consider adjusting this entry's/
>= 1