hledger/hledger/test/check-uniqueleafnames.test
Simon Michael a00dc04e0d imp: check: uniqueleafnames: use the standard error format (#1436)
Hledger.Read.Common:
export makePostingErrorExcerpt
2022-04-25 02:56:59 -10:00

16 lines
285 B
Plaintext

# check uniqueleafnames succeeds when all account leaf names are unique
<
2020-01-01
(a) 1
(a:aa) 1
$ hledger -f- check uniqueleafnames
# and otherwise fails
<
2020-01-01
(a) 1
(b:a) 1
$ hledger -f- check uniqueleafnames
>2 /account leaf name .* is not unique/
>=1