hledger/hledger/test/check-accounts.test
2020-12-31 10:27:50 -08:00

15 lines
225 B
Plaintext

# check accounts succeeds when all accounts are declared
<
account a
2020-01-01
(a) 1
$ hledger -f- check accounts
# and otherwise fails:
<
2020-01-01
(a) 1
$ hledger -f- check accounts
>2 /undeclared account "a"/
>=1