hledger/hledger/test/cli/no-such-file.test
2024-02-28 09:11:49 -10:00

9 lines
337 B
Plaintext

# commands should generally autocreate an empty journal when missing, see also add*.test
# $$ used for safe concurrent test running, may be a bash-ism
$ hledger register -f no-such-file-$$; rm -f no-such-file-$$
>2 /data file.*not found/
$ hledger balance --no-total -f no-such-file-$$; rm -f no-such-file-$$
>2 /data file.*not found/