possible add test
This commit is contained in:
parent
b151eef2b7
commit
5d7e601cb3
@ -108,3 +108,16 @@ b
|
|||||||
c
|
c
|
||||||
>>> /amount 3 \[-0.75\]/
|
>>> /amount 3 \[-0.75\]/
|
||||||
>>>=0
|
>>>=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
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user