mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 20:02:27 +03:00
21d9945ba9
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).
13 lines
363 B
Plaintext
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
|