diff --git a/tests/commodityless-amount-with-price.test b/tests/commodityless-amount-with-price.test new file mode 100644 index 000000000..158290d04 --- /dev/null +++ b/tests/commodityless-amount-with-price.test @@ -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 +