mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-20 02:37:12 +03:00
test for no-commodity amount with a price
This commit is contained in:
parent
055080c5ca
commit
9e28feb516
12
tests/commodityless-amount-with-price.test
Normal file
12
tests/commodityless-amount-with-price.test
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# a no-commodity amount with a price should work
|
||||||
|
-f - print
|
||||||
|
<<<
|
||||||
|
2010/1/1 x
|
||||||
|
a 1 @ $2
|
||||||
|
b
|
||||||
|
|
||||||
|
>>>
|
||||||
|
2010/01/01 x
|
||||||
|
a 1 @ $2
|
||||||
|
b $-2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user