summaryrefslogtreecommitdiff
path: root/test/baseline/opt-depth_flat.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_flat.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_flat.test')
-rw-r--r--test/baseline/opt-depth_flat.test8
1 files changed, 8 insertions, 0 deletions
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