diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2014-05-17 21:29:58 -0400 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2014-05-17 21:29:58 -0400 |
commit | 762546d34b48ae70c16985914046245239654c35 (patch) | |
tree | fd456d14840170a0443a53428eb1f011547fc2b5 /test/baseline/dir-alias.test | |
parent | 0ccbcc78108f3a71f28b120607d2aa2af201fd70 (diff) | |
download | fork-ledger-762546d34b48ae70c16985914046245239654c35.tar.gz fork-ledger-762546d34b48ae70c16985914046245239654c35.tar.bz2 fork-ledger-762546d34b48ae70c16985914046245239654c35.zip |
Add a test case for aliases defined in account directives
Diffstat (limited to 'test/baseline/dir-alias.test')
-rw-r--r-- | test/baseline/dir-alias.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/baseline/dir-alias.test b/test/baseline/dir-alias.test index 6245d944..103868d8 100644 --- a/test/baseline/dir-alias.test +++ b/test/baseline/dir-alias.test @@ -2,12 +2,21 @@ alias A=B:A alias B=C:B alias C=D:C +account Delta + alias D + 2001-01-01 Test A 10 EUR Foo +2001-01-01 Test + D 20 EUR + Foo + test reg 01-Jan-01 Test B:A 10 EUR 10 EUR Foo -10 EUR 0 +01-Jan-01 Test Delta 20 EUR 20 EUR + Foo -20 EUR 0 end test |