summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2019-01-12 09:33:51 -0200
committerMartin Michlmayr <tbm@cyrius.com>2019-01-12 09:34:57 -0200
commit40f84faa52396633dfc6756f04d89443bfa4debb (patch)
tree5990828693bc5d4912f18e635193b3a17875e938 /test
parent56025cdefc07e30b025c65146affc141888b2f83 (diff)
downloadfork-ledger-40f84faa52396633dfc6756f04d89443bfa4debb.tar.gz
fork-ledger-40f84faa52396633dfc6756f04d89443bfa4debb.tar.bz2
fork-ledger-40f84faa52396633dfc6756f04d89443bfa4debb.zip
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").
Diffstat (limited to 'test')
-rw-r--r--test/regress/1703.test11
1 files changed, 11 insertions, 0 deletions
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
+