summaryrefslogtreecommitdiff
path: root/test/regress/2CE7DADB.test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2012-03-29 22:56:56 +0100
committerMartin Michlmayr <tbm@cyrius.com>2012-03-29 22:56:56 +0100
commit3a159a134480debee2fd1665b87ab2d0994c3a3e (patch)
tree5f662adc5033c46d843c05eea36f38fe3b3e361e /test/regress/2CE7DADB.test
parentb5e76f005690e1c94245af430bdfae8dd4a8915f (diff)
downloadfork-ledger-3a159a134480debee2fd1665b87ab2d0994c3a3e.tar.gz
fork-ledger-3a159a134480debee2fd1665b87ab2d0994c3a3e.tar.bz2
fork-ledger-3a159a134480debee2fd1665b87ab2d0994c3a3e.zip
Add a regression test
Diffstat (limited to 'test/regress/2CE7DADB.test')
-rw-r--r--test/regress/2CE7DADB.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/regress/2CE7DADB.test b/test/regress/2CE7DADB.test
new file mode 100644
index 00000000..c6d94b96
--- /dev/null
+++ b/test/regress/2CE7DADB.test
@@ -0,0 +1,13 @@
+2012-01-01 * Buy AAA
+ A 1 AAA @ 1.00 EUR
+ B -1.00 EUR
+
+2012-02-01 * Buy AAA
+ A 1 AAA @ 2.00 EUR
+ B -2.00 EUR
+
+test --anon pricedb --format "%(date) %(amount)\n"
+2012/01/01 1.00 A
+2012/02/01 2.00 A
+end test
+