summaryrefslogtreecommitdiff
path: root/test/regress/494-b.ledger
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2014-05-13 09:24:26 -0400
committerMartin Michlmayr <tbm@cyrius.com>2014-05-13 09:24:26 -0400
commitb99d8d615aa4a2e69137a9573a67b680d823c933 (patch)
treeb380c0bb8da305462b15bf52cc8caf0031e1bd11 /test/regress/494-b.ledger
parent0c9e188cfb37d8f1a2e508e05fe72217aab6dfee (diff)
downloadfork-ledger-b99d8d615aa4a2e69137a9573a67b680d823c933.tar.gz
fork-ledger-b99d8d615aa4a2e69137a9573a67b680d823c933.tar.bz2
fork-ledger-b99d8d615aa4a2e69137a9573a67b680d823c933.zip
Add test cases for bug #494
The issues raised in bug #494 are no longer there but let's add some test cases.
Diffstat (limited to 'test/regress/494-b.ledger')
-rw-r--r--test/regress/494-b.ledger17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/regress/494-b.ledger b/test/regress/494-b.ledger
new file mode 100644
index 00000000..40e8b1b7
--- /dev/null
+++ b/test/regress/494-b.ledger
@@ -0,0 +1,17 @@
+
+--input-date-format %d.%m
+
+Y2010
+03.01 * Foo
+ A 10.00 EUR
+ B
+
+05.02 * Bar
+ A 20.00 EUR
+ B
+
+test reg A
+10-Jan-03 Foo A 10.00 EUR 10.00 EUR
+10-Feb-05 Bar A 20.00 EUR 30.00 EUR
+end test
+