summaryrefslogtreecommitdiff
path: root/test/regress/issue2220.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/issue2220.test')
-rw-r--r--test/regress/issue2220.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/regress/issue2220.test b/test/regress/issue2220.test
new file mode 100644
index 00000000..095d0f63
--- /dev/null
+++ b/test/regress/issue2220.test
@@ -0,0 +1,8 @@
+bucket Liabilities:CreditCard
+
+2023/01/01 * Payment
+ Assets:Checking $-34.86
+
+test reg --monthly --related ^Assets:Checking
+23-Jan-01 - 23-Jan-31 Liabilities:CreditCard $34.86 $34.86
+end test