summaryrefslogtreecommitdiff
path: root/test/regress/2069.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/2069.test')
-rw-r--r--test/regress/2069.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/regress/2069.test b/test/regress/2069.test
new file mode 100644
index 00000000..1029644c
--- /dev/null
+++ b/test/regress/2069.test
@@ -0,0 +1,16 @@
+P 2021-01-01 EUR 1.15 USD
+
+2021-01-01 Test 1
+ A 100 USD
+ B
+
+2021-01-01 Test 2
+ A 100 EUR
+ B
+
+test -X USD --sort display_amount reg
+21-Jan-01 Test 2 B -115 USD -115 USD
+21-Jan-01 Test 1 B -100 USD -215 USD
+ A 100 USD -115 USD
+21-Jan-01 Test 2 A 115 USD 0
+end test