summaryrefslogtreecommitdiff
path: root/test/baseline/dir-commodity-alias.test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2012-03-27 20:16:17 +0100
committerMartin Michlmayr <tbm@cyrius.com>2012-03-27 20:16:17 +0100
commit362fad5925ba4e828b80bd5a90aff825296e6ad0 (patch)
treecc74d03b3aa258b3d4d8a31c667f99e2d044aa84 /test/baseline/dir-commodity-alias.test
parentf3e320c98a39140989d52524a96ad205139ce06a (diff)
downloadfork-ledger-362fad5925ba4e828b80bd5a90aff825296e6ad0.tar.gz
fork-ledger-362fad5925ba4e828b80bd5a90aff825296e6ad0.tar.bz2
fork-ledger-362fad5925ba4e828b80bd5a90aff825296e6ad0.zip
Add more tests
Diffstat (limited to 'test/baseline/dir-commodity-alias.test')
-rw-r--r--test/baseline/dir-commodity-alias.test23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/baseline/dir-commodity-alias.test b/test/baseline/dir-commodity-alias.test
new file mode 100644
index 00000000..4de7f406
--- /dev/null
+++ b/test/baseline/dir-commodity-alias.test
@@ -0,0 +1,23 @@
+commodity $
+ alias USD
+
+2012-03-12 * $
+ A $10.00
+ B
+
+2012-03-12 * USD
+ A 15.00 USD
+ B
+
+test bal
+ 25.00 $ A
+ -25.00 $ B
+--------------------
+ 0
+end test
+
+test reg a
+12-Mar-12 $ A 10.00 $ 10.00 $
+12-Mar-12 USD A 15.00 $ 25.00 $
+end test
+