82763D86.test 874 B

123456789101112131415161718192021222324252627282930313233343536
  1. ; Test for: 'ledger -f doc/sample.dat reg -s -n liab' elides too much
  2. ; It collapses the account down to "<Total>", even though there was
  3. ; only one account!
  4. = /^Expenses:Books/
  5. (Liabilities:Taxes) -0.10
  6. ~ Monthly
  7. Assets:Bank:Checking $500.00
  8. Income:Salary
  9. 2004/05/01 * Checking balance
  10. Assets:Bank:Checking $1,000.00
  11. Equity:Opening Balances
  12. 2004/05/01 * Investment balance
  13. Assets:Brokerage 50 AAPL @ $30.00
  14. Equity:Opening Balances
  15. 2004/05/14 * Pay day
  16. Assets:Bank:Checking $500.00
  17. Income:Salary
  18. 2004/05/27 Book Store
  19. Expenses:Books $20.00
  20. Liabilities:MasterCard
  21. 2004/05/27 (100) Credit card company
  22. Liabilities:MasterCard $20.00
  23. Assets:Bank:Checking
  24. test -s reg liabilities
  25. 04-May-27 - 04-May-27 (Liabilities:Taxes) $-2.00 $-2.00
  26. end test