summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/regress/2207.test14
-rw-r--r--test/regress/777.test8
2 files changed, 22 insertions, 0 deletions
diff --git a/test/regress/2207.test b/test/regress/2207.test
new file mode 100644
index 00000000..38695998
--- /dev/null
+++ b/test/regress/2207.test
@@ -0,0 +1,14 @@
+
+commodity FOO
+ format 1,000.00 FOO
+
+commodity $
+ format $1,000.00
+
+2023/01/03 * Transaction
+ Assets:Brokerage -0.003 FOO @ $16.79
+ Assets:Checking
+
+test bal
+ $0.05 Assets:Checking
+end test
diff --git a/test/regress/777.test b/test/regress/777.test
new file mode 100644
index 00000000..fbb81a70
--- /dev/null
+++ b/test/regress/777.test
@@ -0,0 +1,8 @@
+
+2012-07-01 * Test
+ A (1/9 FOO) @ 200.00 EUR
+ B -22.22 EUR
+
+test bal
+ -22.22 EUR B
+end test