hledger/tests/cli/no-such-file.test
Simon Michael 21d9945ba9 tests: make functional tests use "hledger" again
Using "hledgerdev" was a hack to help ensure that tests used a fresh
developer build by default. Now they specify "hledger" again, which fits
better with stack. It's up to the tester to make sure the desired
executable is first in PATH or specified with -w. (Note a couple of
tests currently don't obey -w and will always run "hledger", see addons.test).
2015-07-12 12:29:53 -07:00

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