summaryrefslogtreecommitdiff
path: root/test/baseline/dir-alias.test
diff options
context:
space:
mode:
authorPeter Feigl <craven@gmx.net>2014-02-26 01:30:45 +0100
committerPeter Feigl <craven@gmx.net>2014-02-26 01:30:45 +0100
commit230fa31ba3087884c0701e9a4fe1c44a184e6f27 (patch)
tree331ec74363d92c81724bbbb0e667aee38c5d4c1f /test/baseline/dir-alias.test
parent2dabb914c0f0603c12506e28300ac4add37b43a2 (diff)
downloadfork-ledger-230fa31ba3087884c0701e9a4fe1c44a184e6f27.tar.gz
fork-ledger-230fa31ba3087884c0701e9a4fe1c44a184e6f27.tar.bz2
fork-ledger-230fa31ba3087884c0701e9a4fe1c44a184e6f27.zip
Adding tests for recursive aliases
Diffstat (limited to 'test/baseline/dir-alias.test')
-rw-r--r--test/baseline/dir-alias.test31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/baseline/dir-alias.test b/test/baseline/dir-alias.test
new file mode 100644
index 00000000..ee363052
--- /dev/null
+++ b/test/baseline/dir-alias.test
@@ -0,0 +1,31 @@
+alias Cash=Assets:Cash
+alias fast-food=food:FastFood
+alias food=Expenses:Food
+
+2012-02-27 KFC
+ fast-food $20.00
+ Assets:Cash
+
+2012-02-28 KFC
+ fast-food $20.00
+ Assets:Cash
+
+2012-02-29 KFC
+ fast-food $25.00
+ Assets:Cash
+
+2012-02-29 KFC
+ fast-food $25.00
+ Assets:Cash
+
+test reg
+12-Feb-27 KFC Expenses:Food:FastFood $20.00 $20.00
+ Assets:Cash $-20.00 0
+12-Feb-28 KFC Expenses:Food:FastFood $20.00 $20.00
+ Assets:Cash $-20.00 0
+12-Feb-29 KFC Expenses:Food:FastFood $25.00 $25.00
+ Assets:Cash $-25.00 0
+12-Feb-29 KFC Expenses:Food:FastFood $25.00 $25.00
+ Assets:Cash $-25.00 0
+end test
+