summaryrefslogtreecommitdiff
path: root/test/regress/1187_5.test
diff options
context:
space:
mode:
authorPascal Fleury <pascal@telefleuries.com>2018-07-18 00:08:56 +0200
committerPascal Fleury <pascal@telefleuries.com>2018-07-18 00:08:56 +0200
commit3ee62bf84e1d67cc4bc1d151b60ddeaaeba7147c (patch)
tree9546693a94ec782d6034a0cb815d8c9e72bad59e /test/regress/1187_5.test
parent4a54ac5cc68bcd7fda68610ca5089e3a06963c68 (diff)
downloadfork-ledger-3ee62bf84e1d67cc4bc1d151b60ddeaaeba7147c.tar.gz
fork-ledger-3ee62bf84e1d67cc4bc1d151b60ddeaaeba7147c.tar.bz2
fork-ledger-3ee62bf84e1d67cc4bc1d151b60ddeaaeba7147c.zip
Add the test to make sure it works in the future.
Diffstat (limited to 'test/regress/1187_5.test')
-rw-r--r--test/regress/1187_5.test36
1 files changed, 36 insertions, 0 deletions
diff --git a/test/regress/1187_5.test b/test/regress/1187_5.test
new file mode 100644
index 00000000..4aa5fdd8
--- /dev/null
+++ b/test/regress/1187_5.test
@@ -0,0 +1,36 @@
+2013/12/01 * Initial State
+ Crédit:Viseca:MasterCard P1 -618.50 CHF
+ Crédit:Viseca:MasterCard P2 -52.10 CHF
+ Equity:Opening Balances
+
+2013/12/15 * Buy Some Chocolate
+ Dépenses:Nourriture 19.00 EUR ; #1
+ Crédit:Viseca:MasterCard P1
+
+2013/12/15 * Buy Some Chocolate
+ Crédit:Viseca:MasterCard P1 18.00 EUR ; #2
+ Recettes:Erreurs
+
+2013/12/23 * Facture Viseca
+ Crédit:Viseca:MasterCard P2 52.10 CHF = 0 ; #3
+ Crédit:Viseca:MasterCard P1 618.50 CHF = 0 CHF ; #4
+ Dépenses:Frais:Gestion Comptes 1.50 CHF
+ Crédit:Viseca -672.10 CHF
+
+2014/01/03 * Facture Viseca
+ Crédit:Viseca 672.10 CHF = 0
+ Actif:Comptes:CP courant
+
+test bal
+ -672.10 CHF Actif:Comptes:CP courant
+ -1.00 EUR Crédit:Viseca
+ -1.00 EUR MasterCard P1
+ 1.50 CHF
+ 19.00 EUR Dépenses
+ 1.50 CHF Frais:Gestion Comptes
+ 19.00 EUR Nourriture
+ 670.60 CHF Equity:Opening Balances
+ -18.00 EUR Recettes:Erreurs
+--------------------
+ 0
+end test