summaryrefslogtreecommitdiff
path: root/test/regress/1046.test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2014-05-30 20:23:59 -0400
committerMartin Michlmayr <tbm@cyrius.com>2014-05-30 20:23:59 -0400
commitb534ee80a35bec45f5885ed34cc8aa672b5941a5 (patch)
tree91657e65d1e4d42982e63410e880734bd5274800 /test/regress/1046.test
parentfafd7c13460c872c7c5736932a4264a6a3b1fbe5 (diff)
downloadfork-ledger-b534ee80a35bec45f5885ed34cc8aa672b5941a5.tar.gz
fork-ledger-b534ee80a35bec45f5885ed34cc8aa672b5941a5.tar.bz2
fork-ledger-b534ee80a35bec45f5885ed34cc8aa672b5941a5.zip
Handle POST_COST_VIRTUAL in print
Bug fix for #1046
Diffstat (limited to 'test/regress/1046.test')
-rw-r--r--test/regress/1046.test35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/regress/1046.test b/test/regress/1046.test
new file mode 100644
index 00000000..60c27783
--- /dev/null
+++ b/test/regress/1046.test
@@ -0,0 +1,35 @@
+
+2014-05-01 * Test 1
+ A 1.00 GBP (@) 1.23 EUR
+ B -1.23 EUR
+
+2014-05-02 * Test 2
+ A 1.00 GBP (@@) 1.23 EUR
+ B -1.23 EUR
+
+2014-05-03 * Test 3
+ A 1.00 GBP @ 1.23 EUR
+ B -1.23 EUR
+
+2014-05-04 * Test 4
+ A 1.00 GBP @@ 1.23 EUR
+ B -1.23 EUR
+
+test print
+2014/05/01 * Test 1
+ A 1.00 GBP (@) 1.23 EUR
+ B -1.23 EUR
+
+2014/05/02 * Test 2
+ A 1.00 GBP (@@) 1.23 EUR
+ B -1.23 EUR
+
+2014/05/03 * Test 3
+ A 1.00 GBP @ 1.23 EUR
+ B -1.23 EUR
+
+2014/05/04 * Test 4
+ A 1.00 GBP @@ 1.23 EUR
+ B -1.23 EUR
+end test
+