hledger/hledger/test/cli/no-such-file.test
Simon Michael e9cd1df048 dev: tests: convert remaining format 1 tests to format 3 (or 2)
Mostly done with an unreleased version of shelltestrunner, plus a few manual fixups.
2023-02-16 11:55:15 -10:00

9 lines
343 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 /journal file.*not found/
$ hledger balance --no-total -f no-such-file-$$; rm -f no-such-file-$$
>2 /journal file.*not found/