summaryrefslogtreecommitdiff
path: root/test/baseline/opt-depth.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-15 21:31:06 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-15 21:31:06 -0400
commit16c77af9c9a251b194b81bc7138a6f4fa8dcff81 (patch)
treeba12a8c3ef521979e3bb631699fa54ef097f3d09 /test/baseline/opt-depth.test
parentd0963ece02bb76599f9a5166ab2d8b34ee3e5d68 (diff)
downloadfork-ledger-16c77af9c9a251b194b81bc7138a6f4fa8dcff81.tar.gz
fork-ledger-16c77af9c9a251b194b81bc7138a6f4fa8dcff81.tar.bz2
fork-ledger-16c77af9c9a251b194b81bc7138a6f4fa8dcff81.zip
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.
Diffstat (limited to 'test/baseline/opt-depth.test')
-rw-r--r--test/baseline/opt-depth.test10
1 files changed, 10 insertions, 0 deletions
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