summaryrefslogtreecommitdiff
path: root/test/baseline/dir-alias-fail.test
diff options
context:
space:
mode:
authorPeter Feigl <craven@gmx.net>2014-02-26 01:30:45 +0100
committerPeter Feigl <craven@gmx.net>2014-02-26 01:30:45 +0100
commit230fa31ba3087884c0701e9a4fe1c44a184e6f27 (patch)
tree331ec74363d92c81724bbbb0e667aee38c5d4c1f /test/baseline/dir-alias-fail.test
parent2dabb914c0f0603c12506e28300ac4add37b43a2 (diff)
downloadfork-ledger-230fa31ba3087884c0701e9a4fe1c44a184e6f27.tar.gz
fork-ledger-230fa31ba3087884c0701e9a4fe1c44a184e6f27.tar.bz2
fork-ledger-230fa31ba3087884c0701e9a4fe1c44a184e6f27.zip
Adding tests for recursive aliases
Diffstat (limited to 'test/baseline/dir-alias-fail.test')
-rw-r--r--test/baseline/dir-alias-fail.test12
1 files changed, 12 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