summaryrefslogtreecommitdiff
path: root/test/regress/82763D86.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/82763D86.test')
-rw-r--r--test/regress/82763D86.test35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/regress/82763D86.test b/test/regress/82763D86.test
new file mode 100644
index 00000000..e580077d
--- /dev/null
+++ b/test/regress/82763D86.test
@@ -0,0 +1,35 @@
+; Test for: 'ledger -f doc/sample.dat reg -s -n liab' elides too much
+; It collapses the account down to "<Total>", even though there was
+; only one 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 -s reg liabilities
+04-May-27 - 04-May-27 (Liabilities:Taxes) $-2.00 $-2.00
+end test
+