From 16c77af9c9a251b194b81bc7138a6f4fa8dcff81 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 15 Mar 2009 21:31:06 -0400 Subject: If 2+ child accounts are shown, show the parent Also, also show a final balance if there are multiple accounts displayed, even if that final balance is zero. --- test/baseline/opt-basis.test | 2 ++ test/baseline/opt-cost.test | 2 ++ test/baseline/opt-depth.test | 10 ++++++++++ test/baseline/opt-depth_flat.test | 8 ++++++++ test/baseline/opt-empty_bal.test | 2 ++ test/baseline/opt-empty_bal_flat.test | 2 ++ test/baseline/opt-flat.test | 2 ++ test/regress/55831A79.test | 2 ++ 8 files changed, 30 insertions(+) (limited to 'test') diff --git a/test/baseline/opt-basis.test b/test/baseline/opt-basis.test index f1b1242d..8270be88 100644 --- a/test/baseline/opt-basis.test +++ b/test/baseline/opt-basis.test @@ -6,5 +6,7 @@ bal --basis >>>1 $0.35 Assets:Investments:Vanguard:VMMXX $-0.35 Income:Dividends:Vanguard:VMMXX +-------------------- + 0 >>>2 === 0 diff --git a/test/baseline/opt-cost.test b/test/baseline/opt-cost.test index edf17428..b84646d8 100644 --- a/test/baseline/opt-cost.test +++ b/test/baseline/opt-cost.test @@ -6,5 +6,7 @@ bal --cost >>>1 $0.35 Assets:Investments:Vanguard:VMMXX $-0.35 Income:Dividends:Vanguard:VMMXX +-------------------- + 0 >>>2 === 0 diff --git a/test/baseline/opt-depth.test b/test/baseline/opt-depth.test index e8dc2e1d..4b378fac 100644 --- a/test/baseline/opt-depth.test +++ b/test/baseline/opt-depth.test @@ -23,6 +23,8 @@ bal --depth 1 $-10.00 Assets $40.00 Expenses $-30.00 Income +-------------------- + 0 >>>2 === 0 bal --depth 2 @@ -32,6 +34,8 @@ bal --depth 2 $10.00 Books $30.00 One $-30.00 Income:One +-------------------- + 0 >>>2 === 0 bal --depth 3 @@ -45,6 +49,8 @@ bal --depth 3 $-30.00 Income:One $-10.00 Books $-20.00 Two +-------------------- + 0 >>>2 === 0 bal --depth 4 @@ -62,6 +68,8 @@ bal --depth 4 $-20.00 Two $-10.00 Books $-10.00 Three +-------------------- + 0 >>>2 === 0 bal --depth 5 @@ -79,5 +87,7 @@ bal --depth 5 $-20.00 Two $-10.00 Books $-10.00 Three:Books +-------------------- + 0 >>>2 === 0 diff --git a/test/baseline/opt-depth_flat.test b/test/baseline/opt-depth_flat.test index c43c1c26..85f29423 100644 --- a/test/baseline/opt-depth_flat.test +++ b/test/baseline/opt-depth_flat.test @@ -26,6 +26,8 @@ bal --depth 2 --flat >>>1 $-10.00 Assets:Cash $10.00 Expenses:Books +-------------------- + 0 >>>2 === 0 bal --depth 3 --flat @@ -34,6 +36,8 @@ bal --depth 3 --flat $10.00 Expenses:Books $10.00 Expenses:One:Books $-10.00 Income:One:Books +-------------------- + 0 >>>2 === 0 bal --depth 4 --flat @@ -44,6 +48,8 @@ bal --depth 4 --flat $10.00 Expenses:One:Two:Books $-10.00 Income:One:Books $-10.00 Income:One:Two:Books +-------------------- + 0 >>>2 === 0 bal --depth 5 --flat @@ -56,5 +62,7 @@ bal --depth 5 --flat $-10.00 Income:One:Books $-10.00 Income:One:Two:Books $-10.00 Income:One:Two:Three:Books +-------------------- + 0 >>>2 === 0 diff --git a/test/baseline/opt-empty_bal.test b/test/baseline/opt-empty_bal.test index 1f44f0db..f8e7560b 100644 --- a/test/baseline/opt-empty_bal.test +++ b/test/baseline/opt-empty_bal.test @@ -35,5 +35,7 @@ bal --empty $-20.00 Two $-10.00 Books $-10.00 Three:Books +-------------------- + 0 >>>2 === 0 diff --git a/test/baseline/opt-empty_bal_flat.test b/test/baseline/opt-empty_bal_flat.test index 8293530f..338c0bf8 100644 --- a/test/baseline/opt-empty_bal_flat.test +++ b/test/baseline/opt-empty_bal_flat.test @@ -29,5 +29,7 @@ bal --empty --flat $-10.00 Income:One:Books $-10.00 Income:One:Two:Books $-10.00 Income:One:Two:Three:Books +-------------------- + 0 >>>2 === 0 diff --git a/test/baseline/opt-flat.test b/test/baseline/opt-flat.test index ddf37d2e..6064e833 100644 --- a/test/baseline/opt-flat.test +++ b/test/baseline/opt-flat.test @@ -28,5 +28,7 @@ bal --flat $-10.00 Income:One:Books $-10.00 Income:One:Two:Books $-10.00 Income:One:Two:Three:Books +-------------------- + 0 >>>2 === 0 diff --git a/test/regress/55831A79.test b/test/regress/55831A79.test index 9ceb7782..3f4a6348 100644 --- a/test/regress/55831A79.test +++ b/test/regress/55831A79.test @@ -20,5 +20,7 @@ bal discover 0 liabilities:credit cards:discover 4462 $-39.00 fee $-64.76 interest +-------------------- + 0 >>>2 === 0 -- cgit v1.2.3