diff options
author | Craig Earls <enderw88@gmail.com> | 2014-03-06 06:54:16 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2014-03-06 06:54:16 -0700 |
commit | 6eeefecf01371428f98123f28d2541d0c09d79f6 (patch) | |
tree | b2484176786e8296d06d5023781628cc4e20f338 /test/baseline | |
parent | 0b4ce5698622eb361e702825b187ebfceb970789 (diff) | |
parent | f2ec5bdb19887b74b2672e6bdeee9799c0ea80a8 (diff) | |
download | fork-ledger-6eeefecf01371428f98123f28d2541d0c09d79f6.tar.gz fork-ledger-6eeefecf01371428f98123f28d2541d0c09d79f6.tar.bz2 fork-ledger-6eeefecf01371428f98123f28d2541d0c09d79f6.zip |
Merge commit 'f2ec5bdb19887b74b2672e6bdeee9799c0ea80a8'
Diffstat (limited to 'test/baseline')
-rw-r--r-- | test/baseline/dir-alias-fail.test | 12 | ||||
-rw-r--r-- | test/baseline/dir-alias-recursive.test | 12 | ||||
-rw-r--r-- | test/baseline/dir-alias.test | 13 |
3 files changed, 37 insertions, 0 deletions
diff --git a/test/baseline/dir-alias-fail.test b/test/baseline/dir-alias-fail.test new file mode 100644 index 00000000..e063a330 --- /dev/null +++ b/test/baseline/dir-alias-fail.test @@ -0,0 +1,12 @@ +--pedantic +--explicit +alias Foo=Foo + +2011-01-01 Test + Foo 10 EUR + Bar +test source -> 1 +__ERROR__ +While parsing file "$FILE", line 3: +Error: Illegal alias Foo=Foo +end test diff --git a/test/baseline/dir-alias-recursive.test b/test/baseline/dir-alias-recursive.test new file mode 100644 index 00000000..d9addcd1 --- /dev/null +++ b/test/baseline/dir-alias-recursive.test @@ -0,0 +1,12 @@ +alias A=B:A +alias B=C:B +alias C=D:C + +2001-01-01 Test + A 10 EUR + Foo + +test reg --recursive-aliases +01-Jan-01 Test D:C:B:A 10 EUR 10 EUR + Foo -10 EUR 0 +end test diff --git a/test/baseline/dir-alias.test b/test/baseline/dir-alias.test new file mode 100644 index 00000000..6245d944 --- /dev/null +++ b/test/baseline/dir-alias.test @@ -0,0 +1,13 @@ +alias A=B:A +alias B=C:B +alias C=D:C + +2001-01-01 Test + A 10 EUR + Foo + +test reg +01-Jan-01 Test B:A 10 EUR 10 EUR + Foo -10 EUR 0 +end test + |