summaryrefslogtreecommitdiff
path: root/test/regress/786A3DD0.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-15 04:47:32 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-15 04:58:53 -0500
commit610a3e170994dc3cd3ae0dc989a49e4e7c7fdadf (patch)
treedb4a99b9f5f41047c0c4632452eb944c93a7f07d /test/regress/786A3DD0.test
parentd9fc09097d3ea290a4bdf0c9b46c8ead3e48043c (diff)
downloadfork-ledger-610a3e170994dc3cd3ae0dc989a49e4e7c7fdadf.tar.gz
fork-ledger-610a3e170994dc3cd3ae0dc989a49e4e7c7fdadf.tar.bz2
fork-ledger-610a3e170994dc3cd3ae0dc989a49e4e7c7fdadf.zip
Don't map_prices if price commodity matches source
Fixes #680
Diffstat (limited to 'test/regress/786A3DD0.test')
-rw-r--r--test/regress/786A3DD0.test17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/regress/786A3DD0.test b/test/regress/786A3DD0.test
new file mode 100644
index 00000000..051f6382
--- /dev/null
+++ b/test/regress/786A3DD0.test
@@ -0,0 +1,17 @@
+D 1000.00 EUR
+
+2011-02-27 * Australia
+ A -100.00 AUD @ 0.746 EUR
+ B
+
+2012-03-12 * Withdrawal
+ Assets:Cash USD 200.00
+ Expenses:Banking:Fees USD 2.50
+ Assets:Chequing CAD -203.42
+ Epenses:Banking:Fees CAD 2.00
+ Assets:Chqeuing CAD -2.00
+
+test pricedb
+P 2011/02/27 00:00:00 AUD 0.746 EUR
+P 2012/03/12 00:00:00 USD CAD 1.00454320987654321
+end test