diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2012-03-22 19:41:06 +0000 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2012-03-22 19:41:06 +0000 |
commit | 10e312cb78144f4d32cde8a5588880be36c927dc (patch) | |
tree | d364744f8f2235c6ad131f0f34a7ca2063bad940 /test/regress/10D19C11.test | |
parent | c69701cf81766b05d494eff372e67cb7983d6bcd (diff) | |
download | fork-ledger-10e312cb78144f4d32cde8a5588880be36c927dc.tar.gz fork-ledger-10e312cb78144f4d32cde8a5588880be36c927dc.tar.bz2 fork-ledger-10e312cb78144f4d32cde8a5588880be36c927dc.zip |
Add more regression tests
Diffstat (limited to 'test/regress/10D19C11.test')
-rw-r--r-- | test/regress/10D19C11.test | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/test/regress/10D19C11.test b/test/regress/10D19C11.test new file mode 100644 index 00000000..be0469ad --- /dev/null +++ b/test/regress/10D19C11.test @@ -0,0 +1,37 @@ +; Test for: ./ledger -f doc/sample.dat -E bal liab' shows the Assets account + += /^Expenses:Books/ + (Liabilities:Taxes) -0.10 + +~ Monthly + Assets:Bank:Checking $500.00 + Income:Salary + +2004/05/01 * Checking balance + Assets:Bank:Checking $1,000.00 + Equity:Opening Balances + +2004/05/01 * Investment balance + Assets:Brokerage 50 AAPL @ $30.00 + Equity:Opening Balances + +2004/05/14 * Pay day + Assets:Bank:Checking $500.00 + Income:Salary + +2004/05/27 Book Store + Expenses:Books $20.00 + Liabilities:MasterCard + +2004/05/27 (100) Credit card company + Liabilities:MasterCard $20.00 + Assets:Bank:Checking + +test -E bal liabilities + $-2.00 Liabilities + 0 MasterCard + $-2.00 Taxes +-------------------- + $-2.00 +end test + |