From 230fa31ba3087884c0701e9a4fe1c44a184e6f27 Mon Sep 17 00:00:00 2001 From: Peter Feigl Date: Wed, 26 Feb 2014 01:30:45 +0100 Subject: Adding tests for recursive aliases --- test/baseline/dir-alias.test | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 test/baseline/dir-alias.test (limited to 'test/baseline/dir-alias.test') 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 + -- cgit v1.2.3