summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/regress/1775.test20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/regress/1775.test b/test/regress/1775.test
new file mode 100644
index 00000000..10ae3639
--- /dev/null
+++ b/test/regress/1775.test
@@ -0,0 +1,20 @@
+2017-02-28 * Test
+ Assets:A 10.00 EUR
+ Assets:B -10.00 EUR
+
+2017-03-30 * Test
+ Assets:A 10.00 EUR
+ Assets:B -10.00 EUR
+
+2018-03-30 * Test
+ Assets:A 10.00 EUR
+ Assets:B -10.00 EUR
+
+test reg --input-date-format %F
+17-Feb-28 Test Assets:A 10.00 EUR 10.00 EUR
+ Assets:B -10.00 EUR 0
+17-Mar-30 Test Assets:A 10.00 EUR 10.00 EUR
+ Assets:B -10.00 EUR 0
+18-Mar-30 Test Assets:A 10.00 EUR 10.00 EUR
+ Assets:B -10.00 EUR 0
+end test