From d541cceaf7d4e77c239849679e3ae7a449ae8c8b Mon Sep 17 00:00:00 2001 From: Mitchell Kember Date: Tue, 4 Oct 2016 21:34:09 -0700 Subject: Fix bug 1187: Allow balance assertions with multiple posts to same account --- test/regress/1187_1.test | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/regress/1187_1.test (limited to 'test/regress/1187_1.test') 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 -- cgit v1.2.3