File: dir-commodity.test

package info (click to toggle)
ledger 3.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,964 kB
  • sloc: cpp: 39,393; python: 4,476; perl: 1,309; sh: 477; lisp: 435; yacc: 103; makefile: 58
file content (21 lines) | stat: -rw-r--r-- 319 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
account A
account B
commodity GBP

2012-03-25 GBP
    A            10.00 GBP
    B

2012-03-26 EUR
    A            20.00 EUR
    B

test bal --pedantic -> 1
__ERROR__
While parsing file "$FILE", line 10:
While parsing posting:
  A            20.00 EUR
               ^^^^^^^^^
Error: Unknown commodity 'EUR'
end test