summaryrefslogtreecommitdiff
path: root/test/baseline/opt-permissive.test
diff options
context:
space:
mode:
authorthdox <thdox@free.fr>2015-01-22 02:00:40 +0100
committerthdox <thdox@free.fr>2015-01-22 02:00:40 +0100
commit991b3f25b187564ac13df739a92b0721ebe7c6a7 (patch)
treeaba0b392040ccdf8abd6dabe2137183e17584de2 /test/baseline/opt-permissive.test
parent97a6761ca7da2957e870d3698dcfef9272e41ed7 (diff)
downloadfork-ledger-991b3f25b187564ac13df739a92b0721ebe7c6a7.tar.gz
fork-ledger-991b3f25b187564ac13df739a92b0721ebe7c6a7.tar.bz2
fork-ledger-991b3f25b187564ac13df739a92b0721ebe7c6a7.zip
Rename file from test/regress/634AA589.test to
test/baseline/opt-permissive.test. Actually 634AA589 is the initial commit that created permissive option.
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
+