hledger/hledger/test/errors/accounts.test

18 lines
347 B
Plaintext

# * accounts error
# ** 1.
$ hledger check accounts -f accounts.j
>2 /hledger: Error: .*accounts.j:4:
\| 2022-01-01
4 \| \(a\) 1
\| \^
Strict account checking is enabled, and
account "a" has not been declared.
Consider adding an account directive. Examples:
account a
account a ; type:A ; \(L,E,R,X,C,V\)
/
>= 1