possible add test

This commit is contained in:
Simon Michael 2012-01-30 17:18:46 +00:00
parent b151eef2b7
commit 5d7e601cb3

View File

@ -108,3 +108,16 @@ b
c
>>> /amount 3 \[-0.75\]/
>>>=0
## 10. shouldn't add decimals if there aren't any
## printf '\n\na\n1\nb\n' | bin/hledger -f /dev/null add
# bin/hledger -f /dev/null add
# <<<
# a
# 1
# b
# >>> /amount 2 \[-1\]/
# >>>=0