summaryrefslogtreecommitdiff
path: root/test/regress/1187_1.test
diff options
context:
space:
mode:
authorMitchell Kember <mk12360@gmail.com>2016-10-04 21:34:09 -0700
committerMitchell Kember <mk12360@gmail.com>2016-10-07 20:25:20 -0700
commitd541cceaf7d4e77c239849679e3ae7a449ae8c8b (patch)
treec6cc326dd21ac5648fd865f118add86ae9a251ca /test/regress/1187_1.test
parente27ae09e2285482f2c95f1ec53d8629f4072f081 (diff)
downloadfork-ledger-d541cceaf7d4e77c239849679e3ae7a449ae8c8b.tar.gz
fork-ledger-d541cceaf7d4e77c239849679e3ae7a449ae8c8b.tar.bz2
fork-ledger-d541cceaf7d4e77c239849679e3ae7a449ae8c8b.zip
Fix bug 1187: Allow balance assertions with multiple posts to same account
Diffstat (limited to 'test/regress/1187_1.test')
-rw-r--r--test/regress/1187_1.test19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/regress/1187_1.test b/test/regress/1187_1.test
new file mode 100644
index 00000000..484146ce
--- /dev/null
+++ b/test/regress/1187_1.test
@@ -0,0 +1,19 @@
+2006/08/17 * Au Bon Bec
+ Dépense:Alimentation:Restaurant 100,00 €
+ Passif:Crédit:Banque
+
+2006/08/20 * Retrait
+ Dépense:Liquide 60,00 €
+ Passif:Crédit:Banque -60,00 €
+ Passif:Crédit:Banque 60,00 € = -100,00 €
+ Actif:Courant:Cc -60,00 €
+
+test bal
+ -60,00 € Actif:Courant:Cc
+ 160,00 € Dépense
+ 100,00 € Alimentation:Restaurant
+ 60,00 € Liquide
+ -100,00 € Passif:Crédit:Banque
+--------------------
+ 0
+end test