summaryrefslogtreecommitdiff
path: root/test/baseline/dir-apply.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline/dir-apply.test')
-rw-r--r--test/baseline/dir-apply.test34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/baseline/dir-apply.test b/test/baseline/dir-apply.test
new file mode 100644
index 00000000..7d9e91d9
--- /dev/null
+++ b/test/baseline/dir-apply.test
@@ -0,0 +1,34 @@
+apply account Master Account
+
+2012-03-12 KFC
+ Expenses:Food $20
+ Assets:Cash
+
+end apply account
+
+apply account Master Account
+
+2012-03-12 KFC
+ Expenses:Food $20
+ Assets:Cash
+
+end apply
+
+apply account Master Account
+
+2012-03-12 KFC
+ Expenses:Food $20
+ Assets:Cash
+
+end
+
+apply account Master Account
+include dir-apply.dat
+end
+
+test reg food
+12-Mar-12 KFC Master A:Expenses:Food $20 $20
+12-Mar-12 KFC Master A:Expenses:Food $20 $40
+12-Mar-12 KFC Master A:Expenses:Food $20 $60
+12-Mar-12 KFC Master A:Expenses:Food $40 $100
+end test