From 463f741ed247f7486a5bdce8a331281887f476fe Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 16 Jun 2009 16:23:58 +0100 Subject: Allow an amount to be zero, even if cost is non-zero The only real change is that exchanges of zero-amount will not result in any exchange at all, just the "motions". Fixes 6DAB9FE3-1399-4727-9AB1-FE413FB85A03 --- test/regress/6DAB9FE3.test | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/regress/6DAB9FE3.test (limited to 'test/regress/6DAB9FE3.test') diff --git a/test/regress/6DAB9FE3.test b/test/regress/6DAB9FE3.test new file mode 100644 index 00000000..50b944ae --- /dev/null +++ b/test/regress/6DAB9FE3.test @@ -0,0 +1,10 @@ +reg -E +<<< +2009/01/01 Sample + assets 0 FOO @ $8.88 + equity +>>>1 +09-Jan-01 Sample assets 0 0 + equity 0 0 +>>>2 +=== 0 -- cgit v1.2.3