From 9e28feb5160238cf99de20c26f3ae563b513ffbc Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 6 Mar 2010 05:00:09 +0000 Subject: [PATCH] test for no-commodity amount with a price --- tests/commodityless-amount-with-price.test | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/commodityless-amount-with-price.test 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 +