Command (at line 20): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:1:
1 | @alias OLD1 = NEW1
^ |
unexpected ‘@’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 9): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:3:5:
3 | !end
^ |
unexpected newline expecting end aliases directive, end apply account directive, or end tag or pop directive
Expected exit code: 0 Got exit code: 1
Command (at line 5): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:2:36:
2 | Expenses:Food ($10,00 + $2,50)
^ |
unexpected ‘+’ expecting ‘;’, ‘=’, end of input, ledger-style lot date, ledger-style lot price, newline, or transaction price
Expected exit code: 0 Got exit code: 1
Command (at line 29): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:27:54:
27 | Assets:Cash = ($4,000.00 + $100.00)
^ |
unexpected ‘+’ expecting ‘;’, end of input, newline, or transaction price
Expected exit code: 0 Got exit code: 1
Command (at line 552): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:540:40:
540 | Expenses:Items (9G * 6) ; Traveler’s backpacks
^ |
unexpected ‘G’ expecting ‘;’, ‘=’, digit, end of input, exponent, ledger-style lot date, ledger-style lot price, newline, space, or transaction price
Expected exit code: 0 Got exit code: 1
Command (at line 552): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:540:40:
540 | Expenses:Items (9G * 6) ; Traveler’s backpacks
^ |
unexpected ‘G’ expecting ‘;’, ‘=’, digit, end of input, exponent, ledger-style lot date, ledger-style lot price, newline, space, or transaction price
Expected exit code: 0 Got exit code: 1
Command (at line 552): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:540:40:
540 | Expenses:Items (9G * 6) ; Traveler’s backpacks
^ |
unexpected ‘G’ expecting ‘;’, ‘=’, digit, end of input, exponent, ledger-style lot date, ledger-style lot price, newline, space, or transaction price
Expected exit code: 0 Got exit code: 1
Command (at line 552): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:540:40:
540 | Expenses:Items (9G * 6) ; Traveler’s backpacks
^ |
unexpected ‘G’ expecting ‘;’, ‘=’, digit, end of input, exponent, ledger-style lot date, ledger-style lot price, newline, space, or transaction price
Expected exit code: 0 Got exit code: 1
Command (at line 553): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:540:40:
540 | Expenses:Items (9G * 6) ; Traveler’s backpacks
^ |
unexpected ‘G’ expecting ‘;’, ‘=’, digit, end of input, exponent, ledger-style lot date, ledger-style lot price, newline, space, or transaction price
Expected exit code: 0 Got exit code: 1
Command (at line 16): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:2:51:
2 | (Internal:Meeting:Tactical) 1800s @ ($36/3600)
^ |
unexpected ‘/’ expecting ‘;’, ‘=’, digit, end of input, exponent, ledger-style lot date, ledger-style lot price, newline, or space
Expected exit code: 0 Got exit code: 1
Command (at line 9): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:6:51:
6 | Expenses:School:CS Club:Home Depot:4” Brush (2 * $3.97)
^ |
unexpected ‘*’ expecting ‘;’, ‘=’, end of input, ledger-style lot date, ledger-style lot price, newline, or transaction price
Expected exit code: 0 Got exit code: 1
Command (at line 13): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:2:43:
2 | [A:Assets:Split] (amount / 2)
^ |
unexpected ‘/’ expecting ‘+’, ‘-‘, or number
Expected exit code: 0 Got exit code: 1
Command (at line 9): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:2:36:
2 | Expenses:Something (3 - 1)
^ |
unexpected ‘-’ expecting ‘;’, ‘=’, end of input, ledger-style lot date, ledger-style lot price, newline, or transaction price
Expected exit code: 0 Got exit code: 1
Command (at line 10): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:4:37:
4 | (Liabilities:Taxes:VAT) ((1,00 / 1,19) * 0,19)
^ |
unexpected ‘/’ expecting ‘;’, ‘=’, end of input, ledger-style lot date, ledger-style lot price, newline, or transaction price
Expected exit code: 0 Got exit code: 1
Command (at line 9): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:1:
1 | apply fixed XCD $0.374531835206
^ |
unexpected ‘a’ expecting end of input
Expected exit code: 0 Got exit code: 1
Command (at line 29): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:15:1:
15 | end apply
^ |
unexpected ‘e’ expecting end of input
Expected exit code: 0 Got exit code: 1
Command (at line 17): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:1:
1 | apply year 2014
^ |
unexpected ‘a’ expecting end of input
Expected exit code: 0 Got exit code: 1
Command (at line 19): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:6:1:
6 | apply year 2011
^ |
unexpected ‘a’ expecting end of input
Expected exit code: 0 Got exit code: 1
Command (at line 12): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:2:5:
2 | assert value =~ ^Bar$
^ |
unexpected ‘a’ expecting newline
Expected exit code: 0 Got exit code: 1
Command (at line 21): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:13:1:
13 | assert account(“Assets:Current Account”).total == $900.00
^ |
unexpected ‘a’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 21): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:13:1:
13 | assert account(“Assets:Current”).total == $2000.00
^ |
unexpected ‘a’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 13): hledger -f- check Expected stderr:
Got stderr: hledger: Error: Balance assignments and auto postings may not be combined.
2018-06-09 Assert amount added by automated transaction [Foo] = $100
Balance assignments may not be used on accounts affected by auto posting rules (it makes balancing the journal impossible). Please write the posting amount explicitly (or remove the auto posting rule(s)). Expected exit code: 0 Got exit code: 1
Command (at line 16): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:13-14: 13 | 2018-01-02 * Assertion
Assets:Checking $100.00 = $100.00 |
This transaction is unbalanced. The real postings’ sum should be 0 but is: $100.00 Consider adjusting this entry’s amounts, or adding missing postings. Expected exit code: 0 Got exit code: 1
Command (at line 16): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:13:54:
2018-01-02 * Buy Groceries |
[Assets:Budget:Food:Groceries] $-20.00 = $0 |
[Assets:Checking] $20.00 |
13 | Assets:Checking $-20.00 = $80
^^^^^ |
Expenses:Food:Groceries $20.00 |
This balance assertion failed. In account: Assets:Checking and commodity: $ this balance was asserted: 80 but the calculated balance is: 0…(164 more)Expected exit code: 0 Got exit code: 1
Command (at line 18): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:15:54:
2018-01-02 * Buy Groceries |
15 | Assets:Checking $-20.00 = $80
^^^^^ |
Expenses:Food:Groceries $20.00 |
This balance assertion failed. In account: Assets:Checking and commodity: $ this balance was asserted: 80 but the calculated balance is: 0 a difference of: 80
Consider viewing this account’s calculated balances to troubleshoot. Eg:
hledger reg ‘Assets:Checking…(26 more)Expected exit code: 0 Got exit code: 1
Command (at line 14): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:5-8: 5 | 2018-01-01 * Budget
[Assets:Checking] 0 = 0 |
[Assets:Budget:Food:Groceries] $20.00 |
[Assets:Budget:Food:Restaurants] $80.00 |
This transaction is unbalanced. The balanced virtual postings all have the same sign. Consider negating some of them. Consider adjusting this entry’s amounts, or adding missing postings. Expected exit code: 0 Got exit code: 1
Command (at line 10): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:1:
1 | bucket Assets:Checking
^ |
unexpected ‘b’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 7): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:5:
1 | C 1 “” = 1 $
^ |
unexpected ‘”’ expecting ‘=’, ledger-style lot date, ledger-style lot price, or transaction price
Expected exit code: 0 Got exit code: 1
Command (at line 12): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:2:5:
2 | alias USD
^^^^^^ |
unexpected “alias ” expecting “format”
Expected exit code: 0 Got exit code: 1
Command (at line 20): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:2:5:
2 | value 10 EUR
^^^^^^ |
unexpected “value ” expecting “format”
Expected exit code: 0 Got exit code: 1
Command (at line 17): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:2:5:
2 | note Euro
^^^^^^ |
unexpected “note E” expecting “format”
Expected exit code: 0 Got exit code: 1
Command (at line 5): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:3:
1 | 02%02%2007 RD VMMXX
^ |
unexpected ‘%’ expecting date separator or digit
Expected exit code: 0 Got exit code: 1
Command (at line 9): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:6:
1 | 01.10.2011 4b4e2a89
^ |
unexpected ‘.’ expecting digit, secondary date, or whitespace or newline
Expected exit code: 0 Got exit code: 1
Command (at line 90): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:17:1:
17 | define myfunc_seven(s, d, t) = 7 EUR
^ |
unexpected ‘d’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 15): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:1:
1 | i 2007/03/01 23:00:00 A
^ |
unexpected ‘i’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 12): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:1:
1 | i 2013/04/05 09:30:00 Internal:Meeting:Tactical Intelligent comment
^ |
unexpected ‘i’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 4): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:1:
1 | i 05/10/2011 08:58:37 682
^ |
unexpected ‘i’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 12): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:1:
1 | i 2013/04/05 09:30:00 Internal:Meeting:Tactical [Intelligent comment]
^ |
unexpected ‘i’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 6): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:1:
1 | i 2007/03/01 23:00:00 A
^ |
unexpected ‘i’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 4): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:1:
1 | i 2011/07/20 17:00:00 Hello Work project
^ |
unexpected ‘i’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 19): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:5-8: 5 | 2012-03-09 KFC
Assets:Cash $75 |
Expenses:Food -10 CHIK @ $75 |
Equity:Capital Gains $-25 |
This multi-commodity transaction is unbalanced. The real postings’ sum should be 0 but is: $-700 Consider adjusting this entry’s amounts, adding missing postings, or recording conversion price(s) with @, @@ or equity postings. Expected exit code: 0 Got exit code: 1
Command (at line 49): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:38:44:
38 | Assets:Brokerage 155 A (A123) @@ 500 F
^ |
unexpected ‘A’ expecting ‘@’
Expected exit code: 0 Got exit code: 1
Command (at line 17): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:6:42:
6 | Assets:Voucher 10.00 GBP (aaaa)
^ |
unexpected ‘a’ expecting ‘@’
Expected exit code: 0 Got exit code: 1
Command (at line 8): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:4:43:
4 | Assets:Tajer 1339829c (TAG)
^ |
unexpected ‘T’ expecting ‘@’
Expected exit code: 0 Got exit code: 1
Command (at line 16): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:2:32:
2 | Assets:Foo 100 FOO (Note) {$43.44}
^ |
unexpected ‘N’ expecting ‘@’
Expected exit code: 0 Got exit code: 1
Command (at line 15): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:9-12: 9 | 2011-12-07 * Sell AAA with a gain
Assets:Cash 12.00 GBP |
Assets:Investments -1 AAA @@ 12.00 GBP |
Income:Capital gains -2.00 GBP |
This multi-commodity transaction is unbalanced. The real postings’ sum should be 0 but is: -2.00 GBP Consider adjusting this entry’s amounts, adding missing postings, or recording conversion price(s) with @, @@ or equity postings. Expected exit code: 0 Got exit code: 1
Command (at line 19): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:9-12: 9 | 2011-03-07 * Sell one AAA with a gain
Assets:Cash 12.00 GBP |
Assets:Investments -1 AAA @@ 12.00 GBP |
Income:Capital gains -2.00 GBP |
This multi-commodity transaction is unbalanced. The real postings’ sum should be 0 but is: -2.00 GBP Consider adjusting this entry’s amounts, adding missing postings, or recording conversion price(s) with @, @@ or equity postings. Expected exit code: 0 Got exit code: 1
Command (at line 5): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:2:55:
2 | Assets:Voucher:Amazon 137.87 GBP (48H5)
^ |
unexpected ‘4’ expecting ‘@’
Expected exit code: 0 Got exit code: 1
Command (at line 7): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1-5: 1 | 2012-08-22 Payment
Accrued €208.00 @ $1.2799 |
Expenses €4.16 @ $1.2799 |
Assets $-271.54 |
Income:Currency Conversion $-6.45 |
This multi-commodity transaction is unbalanced. The real postings’ sum should be 0 but is: $-6.4464 Consider adjusting this entry’s amounts, adding missing postings, or recording conversion price(s) with @, @@ or equity postings....(1 more)Expected exit code: 0 Got exit code: 1
Command (at line 7): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1-5: 1 | 2012-08-22 Payment
Accrued €208.00 @ $1.2798689 |
Expenses €4.16 @ $1.2798689 |
Assets $-271.54 |
Income:Currency Conversion $-6.45 |
This multi-commodity transaction is unbalanced. The real postings’ sum should be 0 but is: $-6.4530142 Consider adjusting this entry’s amounts, adding missing postings, or recording conversion price(s) with @, @@ or e…(16 more)Expected exit code: 0 Got exit code: 1
Command (at line 13): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:1:
1 | –input-date-format %d/%m/%y
^ |
unexpected ‘-’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 65): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:1:
1 | –input-date-format %Y-%m-%d
^ |
unexpected ‘-’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 10): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:1:
1 | –input-date-format %Y:%m:%d
^ |
unexpected ‘-’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 9): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:1:
1 | –now=2012-02-28
^ |
unexpected ‘-’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 14): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:3:1:
3 | –date-format %Y/%m/%d
^ |
unexpected ‘-’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 22): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:1:
1 | –date-format %Y-%m-%d
^ |
unexpected ‘-’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 20): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:2:5:
2 | alias Kentucky Fried Chicken
^ |
unexpected ‘a’ expecting newline
Expected exit code: 0 Got exit code: 1
Command (at line 9): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:6:5:
6 | alias REWE SAGT DANKE
^ |
unexpected ‘a’ expecting newline
Expected exit code: 0 Got exit code: 1
Command (at line 15): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:10:
1 | ~ Monthly since 2010/01/01
^^^^^^^^^^^^^^^^^ |
remainder of period expression cannot be parsed perhaps you need to terminate the period expression with a double space? a double space is required between period expression and description/comment
Expected exit code: 0 Got exit code: 1
Command (at line 11): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:10:
1 | ~ Monthly since 2010/01/01
^^^^^^^^^^^^^^^^^ |
remainder of period expression cannot be parsed perhaps you need to terminate the period expression with a double space? a double space is required between period expression and description/comment
Expected exit code: 0 Got exit code: 1
Command (at line 10): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:2:3:
2 | ~ every 2 weeks from 2010/02/23
^ |
Unable to generate transactions according to “every 2 weeks from 2010/02/23” because 2010-02-23 is not a first day of the Week
Expected exit code: 0 Got exit code: 1
Command (at line 9): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:2:3:
2 | ~ every 2 weeks from 2010/02/23
^ |
Unable to generate transactions according to “every 2 weeks from 2010/02/23” because 2010-02-23 is not a first day of the Week
Expected exit code: 0 Got exit code: 1
Command (at line 11): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:10:
1 | ~ Monthly since 2010/01/01
^^^^^^^^^^^^^^^^^ |
remainder of period expression cannot be parsed perhaps you need to terminate the period expression with a double space? a double space is required between period expression and description/comment
Expected exit code: 0 Got exit code: 1
Command (at line 11): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:10:
1 | ~ Monthly since 2010/01/01
^^^^^^^^^^^^^^^^^ |
remainder of period expression cannot be parsed perhaps you need to terminate the period expression with a double space? a double space is required between period expression and description/comment
Expected exit code: 0 Got exit code: 1
Command (at line 1): hledger check -f balancing-precision.j Expected stderr:
Got stderr: hledger: Error: /Users/simon/src/hledger/hledger/test/ledger-compat/collected/balancing-precision.j:5-7: 5 | 2022-01-01 txn1
expenses AAA 989.02 @ $1.123456 ; $1111.12045312 |
checking $-1111.1200 |
This multi-commodity transaction is unbalanced. The real postings’ sum should be 0 but is: $0.000453 Consider adjusting this entry’s amounts, adding missing postings, or recording conversion price(s) with @, @@ or equity postings. Expected exit code: 0 Got exit code: 1
Command (at line 11): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:1:
1 | python
^ |
unexpected ‘p’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 15): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:1:
1 | python
^ |
unexpected ‘p’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 15): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:1:
1 | python
^ |
unexpected ‘p’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 15): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:1:1:
1 | year 2014
^ |
unexpected ‘y’ expecting end of input or transaction or directive
Expected exit code: 0 Got exit code: 1
Command (at line 14): hledger -f- check Expected stderr:
Got stderr: hledger: Error: -:5-8: 5 | 2008-06-30 * Sell some Apple shares
Cash $1250 |
Equities -500 AAPL @ $2.50 |
Income:Gains $-250 |
This multi-commodity transaction is unbalanced. The real postings’ sum should be 0 but is: $-250.00 Consider adjusting this entry’s amounts, adding missing postings, or recording conversion price(s) with @, @@ or equity postings. Expected exit code: 0 Got exit code: 1
Passed 279 279 Failed 71 71 Total 350 350