hledger/tests/no-such-file.test
2011-08-14 22:15:39 +00:00

13 lines
351 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
rm -f $$; bin/hledger register -f $$; rm -f $$
>>>
>>>2 /No journal file.*creating it/
>>>=0
rm -f $$; bin/hledger balance --no-total -f $$; rm -f $$
>>>
>>>2 /No journal file.*creating it/
>>>=0