~ubuntu-branches/ubuntu/wily/ledger/wily

« back to all changes in this revision

Viewing changes to test/baseline/feat-balance_assert-off.test

  • Committer: Package Import Robot
  • Author(s): David Bremner
  • Date: 2014-10-08 19:20:38 UTC
  • mfrom: (1.1.3) (9.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20141008192038-py5cxm93rdt3x2uz
Tags: 3.1+dfsg1-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
2014-05-01 * Opening balance
 
3
    Assets:Cash          $100
 
4
    Equity:Opening balance
 
5
 
 
6
2014-05-10 * Spend money
 
7
    Expenses:Foo          $10
 
8
    Assets:Cash          -$10 = $80
 
9
 
 
10
test bal -> 1
 
11
__ERROR__
 
12
While parsing file "$FILE", line 8:
 
13
While parsing posting:
 
14
  Assets:Cash          -$10 = $80
 
15
                              ^^^
 
16
Error: Balance assertion off by $-10 (expected to see $100)
 
17
end test
 
18