diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-12 22:38:36 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-12 22:38:36 -0500 |
commit | be289fba1f3bdb4dc07d5595ad8b46a9309f42f3 (patch) | |
tree | 73526bd98087b3ef69aaa300b2bd8112d5aab924 /test/baseline/dir-apply.test | |
parent | cf67fcbd0628e03ac2f788da6f2c082121faf21f (diff) | |
download | fork-ledger-be289fba1f3bdb4dc07d5595ad8b46a9309f42f3.tar.gz fork-ledger-be289fba1f3bdb4dc07d5595ad8b46a9309f42f3.tar.bz2 fork-ledger-be289fba1f3bdb4dc07d5595ad8b46a9309f42f3.zip |
Fixed a few bugs related to apply directives
Diffstat (limited to 'test/baseline/dir-apply.test')
-rw-r--r-- | test/baseline/dir-apply.test | 34 |
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 |