summaryrefslogtreecommitdiff
path: root/test/regress/2109.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2022-05-03 13:22:39 -0700
committerJohn Wiegley <johnw@newartisans.com>2022-05-03 13:35:13 -0700
commit692a3ae980f0b3eb1701ab8f6a3a651f2687f3b8 (patch)
tree2e3a45bba4148debe25cb74f07909c8842426a23 /test/regress/2109.test
parentce8fec9ab6608ad35823388eb6e85bb58e7fe86f (diff)
downloadfork-ledger-692a3ae980f0b3eb1701ab8f6a3a651f2687f3b8.tar.gz
fork-ledger-692a3ae980f0b3eb1701ab8f6a3a651f2687f3b8.tar.bz2
fork-ledger-692a3ae980f0b3eb1701ab8f6a3a651f2687f3b8.zip
Add test/regress/2109.test
Diffstat (limited to 'test/regress/2109.test')
-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