hledger/tests/timelog-stack-overflow.test

14 lines
340 B
Plaintext

# this gave a stack space overflow error with 0.8-0.9 due to infinite
# recursion in Posting and Transaction's equality tests:
bin/hledger -f - balance
<<<
i 2010/1/1 09:00:00 a:b
o 2010/1/1 09:03:00
>>>=0
# incidentally this didn't trigger it.. go figure
#bin/hledger -f - balance
#<<<
#i 2010/1/1 09:00:00 a:b
#o 2010/1/1 09:02:00
#>>>=0