summaryrefslogtreecommitdiff
path: root/test/regress
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-04-19 16:28:56 +0200
committerGitHub <noreply@github.com>2023-04-19 16:28:56 +0200
commitd81e9245c60350abc1af47b466a38dc5296417d9 (patch)
tree5ee597d313de2c674ee3765a7b6aed53195ae2ad /test/regress
parent1a5fba25987c8f44a0fdcf8219d9243a3d04dda2 (diff)
parentdbb350aed2e050662ebd8d746714e5d459d0587e (diff)
downloadfork-ledger-d81e9245c60350abc1af47b466a38dc5296417d9.tar.gz
fork-ledger-d81e9245c60350abc1af47b466a38dc5296417d9.tar.bz2
fork-ledger-d81e9245c60350abc1af47b466a38dc5296417d9.zip
Merge pull request #2245 from taviso/master
Fix bucket transactions with reg --related
Diffstat (limited to 'test/regress')
-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