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_2.test | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/regress/1187_2.test (limited to 'test/regress/1187_2.test') diff --git a/test/regress/1187_2.test b/test/regress/1187_2.test new file mode 100644 index 00000000..432a40f2 --- /dev/null +++ b/test/regress/1187_2.test @@ -0,0 +1,18 @@ +2001/01/01 * Balance + Actif:Courant:Cc 10000,00 F = 10000,00 F + Equity + +2002/01/11 * Passage à l'euro + Actif:Courant:Cc -10000,00 F = 0,00 F + Actif:Courant:Cc 1524,49 € = 1524,49 € + Revenu:Devise 10000,00 F + Revenu:Devise -1524,49 € + +test bal + 1524,49 € Actif:Courant:Cc + -10000,00 F Equity + 10000,00 F + -1524,49 € Revenu:Devise +-------------------- + 0 +end test -- cgit v1.2.3