summaryrefslogtreecommitdiff
path: root/test/baseline/feat-balance_assert-off.test
blob: d1da753eb74259d31acc533416937fd52ef7deda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 $90)
end test