summaryrefslogtreecommitdiff
path: root/test/regress/634AA589.test
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2014-05-18 08:25:30 -0700
committerCraig Earls <enderw88@gmail.com>2014-05-18 08:25:30 -0700
commit8e6cdcc1d13533252b1f6e6088dca966b64e4c88 (patch)
tree8f8fd4f644f292a25fb79d59961e135cc4b11c3a /test/regress/634AA589.test
parentd82c1b4b5531c7be1c1870a07f1836b230a4da27 (diff)
parent4af2b97921a68a522135f958f1999ec4b63435bb (diff)
downloadfork-ledger-8e6cdcc1d13533252b1f6e6088dca966b64e4c88.tar.gz
fork-ledger-8e6cdcc1d13533252b1f6e6088dca966b64e4c88.tar.bz2
fork-ledger-8e6cdcc1d13533252b1f6e6088dca966b64e4c88.zip
Merge branch 'master' of https://github.com/ledger/ledger
Diffstat (limited to 'test/regress/634AA589.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
+