From 40f84faa52396633dfc6756f04d89443bfa4debb Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Sat, 12 Jan 2019 09:33:51 -0200 Subject: Add test case for issue #1703 Add a test case for issue #1703 which John Wiegley fixed in commit 56025cde ("Don't attempt to invert a value if it's already zero"). --- test/regress/1703.test | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/regress/1703.test (limited to 'test') diff --git a/test/regress/1703.test b/test/regress/1703.test new file mode 100644 index 00000000..983b79be --- /dev/null +++ b/test/regress/1703.test @@ -0,0 +1,11 @@ + +P 2018-10-31 MultifundosPlus R$0 + +2017-05-03 * Test + Assets:A 1 AAA @ R$ 3000 + Assets:B + +test reg assets:a -V --now 2018-12-31 +17-May-03 Test Assets:A R$3000 R$3000 +end test + -- cgit v1.2.3