summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2014-05-18 09:55:04 -0400
committerMartin Michlmayr <tbm@cyrius.com>2014-05-18 09:55:04 -0400
commit642bdd1d99bbb331a004e98b3d69272b49f96a8c (patch)
tree4316a9f2cf8d8a025849651c208e51e1e34ebbbd /test
parent2cee0fe23f84a1e6ccd7078098df2c5ffbe0378f (diff)
downloadfork-ledger-642bdd1d99bbb331a004e98b3d69272b49f96a8c.tar.gz
fork-ledger-642bdd1d99bbb331a004e98b3d69272b49f96a8c.tar.bz2
fork-ledger-642bdd1d99bbb331a004e98b3d69272b49f96a8c.zip
Add test case for: option --permissive now quiets balance assertions
Add a test csae for the change "The option --permissive now quiets balance assertions" (634aa589)
Diffstat (limited to 'test')
-rw-r--r--test/regress/634AA589.test19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/regress/634AA589.test b/test/regress/634AA589.test
new file mode 100644
index 00000000..8f8ff031
--- /dev/null
+++ b/test/regress/634AA589.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
+