test: balance: adapt to newly implemented tree mode

This commit is contained in:
Henning Thielemann 2024-10-03 18:52:54 +02:00 committed by Simon Michael
parent ccc605a6a0
commit 75ad734edf
2 changed files with 4 additions and 4 deletions

View File

@ -138,7 +138,7 @@ $ hledger -f - balance -N --output-format=csv
"Assets:ABC","""AB.C"" 1" "Assets:ABC","""AB.C"" 1"
"Assets:Cash","$-1" "Assets:Cash","$-1"
# ** 8. CSV output always shows full account names, even in tree mode (#1565). # ** 8. CSV output in tree mode.
< <
2021-01-01 Test 2021-01-01 Test
Assets:ABC "AB.C" 1 Assets:ABC "AB.C" 1
@ -146,8 +146,8 @@ $ hledger -f - balance -N --output-format=csv
$ hledger -f - balance -N --output-format=csv --tree $ hledger -f - balance -N --output-format=csv --tree
"account","balance" "account","balance"
"Assets","$-1, ""AB.C"" 1" "Assets","$-1, ""AB.C"" 1"
"Assets:ABC","""AB.C"" 1" "  ABC","""AB.C"" 1"
"Assets:Cash","$-1" "  Cash","$-1"
# ** 9. CSV output always does not show thousands separators # ** 9. CSV output always does not show thousands separators
< <

View File

@ -49,6 +49,6 @@ $ hledger -f - balance --tree --no-total --output-format=csv --drop 1
"k","1" "k","1"
"i:p","1" "i:p","1"
"j","2" "j","2"
"j:q","1" "  q","1"
"...","1" "...","1"
>= >=