summaryrefslogtreecommitdiff
path: root/test/baseline/opt-permissive.test
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2015-01-27 21:52:35 +0100
committerAlexis Hildebrandt <afh@surryhill.net>2015-01-27 21:52:35 +0100
commitfcb040f643d5050f776663504bd106b54274abba (patch)
treecab258193187eab38664fa31c6a8ea16d4b4c320 /test/baseline/opt-permissive.test
parentf6fa4de9c5387ec0a60232d7295c0dae624cf029 (diff)
parent991b3f25b187564ac13df739a92b0721ebe7c6a7 (diff)
downloadfork-ledger-fcb040f643d5050f776663504bd106b54274abba.tar.gz
fork-ledger-fcb040f643d5050f776663504bd106b54274abba.tar.bz2
fork-ledger-fcb040f643d5050f776663504bd106b54274abba.zip
Merge pull request #383 from thdox/add-to-doc2
Add documentation for option --permissive. [ci skip]
Diffstat (limited to 'test/baseline/opt-permissive.test')
-rw-r--r--test/baseline/opt-permissive.test19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/baseline/opt-permissive.test b/test/baseline/opt-permissive.test
index e69de29b..8f8ff031 100644
--- a/test/baseline/opt-permissive.test
+++ b/test/baseline/opt-permissive.test
@@ -0,0 +1,19 @@
+
+; The option --permissive quiets balance assertions
+
+2014-05-01 * Opening balance
+ Assets:Cash $100
+ Equity:Opening balance
+
+2014-05-10 * Spend money
+ Expenses:Foo $10
+ Assets:Cash -$10 = $80
+
+test bal --permissive
+ $90 Assets:Cash
+ $-100 Equity:Opening balance
+ $10 Expenses:Foo
+--------------------
+ 0
+end test
+