hledger/hledger/test/check-balancednoautoconversion.test
Stephen Morgan 0f1837816d lib,cli,ui,web: Add check balancednoautoconversion command, which checks that
transactions are balanced possibly using explicit prices, but without
inferring any prices. This is included in --strict mode.

Renames check autobalanced to check balancedwithautoconversion.
2021-06-07 18:58:58 -10:00

9 lines
196 B
Plaintext

# 1. Check that prices balance without auto-inferring prices
<
2011/01/01 x
a -10£
b 16$
$ hledger -f - check balancednoautoconversion
>2 /real postings' sum should be 0 but is: 16\$/
>=1