summaryrefslogtreecommitdiff
path: root/test/regress
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress')
-rw-r--r--test/regress/2109.test23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/regress/2109.test b/test/regress/2109.test
new file mode 100644
index 00000000..9b942f1f
--- /dev/null
+++ b/test/regress/2109.test
@@ -0,0 +1,23 @@
+2021/11/22 Entry
+ Assets:Foo 100 FOO (Note) {$43.44}
+ Income:Bar
+
+2021/11/22 Entry
+ Assets:Foo 100 FOO (Misc) {$45.44} = 200 FOO
+ Income:Bar
+
+2021/11/22 Entry
+ Assets:Foo $100
+ Income:Bar
+
+2021/11/22 Balance Check
+ Assets:Foo 0 FOO = 200 FOO
+
+test reg
+2021/11/22 Entry Assets:Foo 100 FOO 100 FOO
+ Income:Bar -100 FOO 0
+2021/11/22 Entry Assets:Foo 100 FOO 100 FOO
+ Income:Bar -100 FOO 0
+2021/11/22 Entry Assets:Foo $100 $100
+ Income:Bar $-100 0
+end test