diff options
author | Craig Earls <enderw88@gmail.com> | 2014-05-18 08:25:30 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2014-05-18 08:25:30 -0700 |
commit | 8e6cdcc1d13533252b1f6e6088dca966b64e4c88 (patch) | |
tree | 8f8fd4f644f292a25fb79d59961e135cc4b11c3a /test/baseline/feat-balance_assert-off.test | |
parent | d82c1b4b5531c7be1c1870a07f1836b230a4da27 (diff) | |
parent | 4af2b97921a68a522135f958f1999ec4b63435bb (diff) | |
download | fork-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/baseline/feat-balance_assert-off.test')
-rw-r--r-- | test/baseline/feat-balance_assert-off.test | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/baseline/feat-balance_assert-off.test b/test/baseline/feat-balance_assert-off.test new file mode 100644 index 00000000..fed24d4a --- /dev/null +++ b/test/baseline/feat-balance_assert-off.test @@ -0,0 +1,18 @@ + +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 -> 1 +__ERROR__ +While parsing file "$FILE", line 8: +While parsing posting: + Assets:Cash -$10 = $80 + ^^^ +Error: Balance assertion off by $-10 (expected to see $100) +end test + |