summaryrefslogtreecommitdiff
path: root/test/baseline/opt-no-aliases.test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2014-05-17 21:21:56 -0400
committerMartin Michlmayr <tbm@cyrius.com>2014-05-17 21:21:56 -0400
commit46948d39148ce30cf048b11c8f9ca7e5b5b5c503 (patch)
tree131612d44a3367438851ba2161f9da0dab6ec73c /test/baseline/opt-no-aliases.test
parent0f9d558bbf4a93559a8af24b4d4b0ceee39ecde1 (diff)
downloadfork-ledger-46948d39148ce30cf048b11c8f9ca7e5b5b5c503.tar.gz
fork-ledger-46948d39148ce30cf048b11c8f9ca7e5b5b5c503.tar.bz2
fork-ledger-46948d39148ce30cf048b11c8f9ca7e5b5b5c503.zip
Add test case for --no-aliases option
Diffstat (limited to 'test/baseline/opt-no-aliases.test')
-rw-r--r--test/baseline/opt-no-aliases.test20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/baseline/opt-no-aliases.test b/test/baseline/opt-no-aliases.test
new file mode 100644
index 00000000..9deeca5d
--- /dev/null
+++ b/test/baseline/opt-no-aliases.test
@@ -0,0 +1,20 @@
+
+alias A=Foo
+
+account Bar
+ alias B
+
+2001-01-01 * Test
+ A 10 EUR
+ B
+
+test reg
+01-Jan-01 Test Foo 10 EUR 10 EUR
+ Bar -10 EUR 0
+end test
+
+test reg --no-aliases
+01-Jan-01 Test A 10 EUR 10 EUR
+ B -10 EUR 0
+end test
+