tests: fix balance/sorting.test with released shelltest
It was using org-style nodes for organisation, which requires a shelltest dev build.
This commit is contained in:
parent
cb979ed129
commit
ef5e7511c2
@ -1,9 +1,9 @@
|
|||||||
* balance report sorting.
|
#* balance report sorting.
|
||||||
# These tests are based on accounts' and somewhat duplicatory if
|
# These tests are based on accounts' and somewhat duplicatory if
|
||||||
# sorting code is shared between commands, but might be worth having
|
# sorting code is shared between commands, but might be worth having
|
||||||
# all the same.
|
# all the same.
|
||||||
** Tabular balance reports
|
#** Tabular balance reports
|
||||||
*** Default sort without account declarations
|
#*** Default sort without account declarations
|
||||||
|
|
||||||
# 1. Rows are sorted alphabetically by account name, at each tree level.
|
# 1. Rows are sorted alphabetically by account name, at each tree level.
|
||||||
# Flat mode. Unused parent accounts are not added (b).
|
# Flat mode. Unused parent accounts are not added (b).
|
||||||
@ -45,7 +45,7 @@ Balance changes in 2018:
|
|||||||
c || 1
|
c || 1
|
||||||
>=
|
>=
|
||||||
|
|
||||||
*** Default sort with account declarations
|
#*** Default sort with account declarations
|
||||||
|
|
||||||
# 3. With account directives, flat mode.
|
# 3. With account directives, flat mode.
|
||||||
# At each tree level, declared accounts are sorted first, in
|
# At each tree level, declared accounts are sorted first, in
|
||||||
@ -123,7 +123,7 @@ Balance changes in 2018:
|
|||||||
# k || 1
|
# k || 1
|
||||||
# >=
|
# >=
|
||||||
|
|
||||||
*** Sort by amount
|
#*** Sort by amount
|
||||||
|
|
||||||
# 5. Rows are sorted by decreasing amount (and then by account), at each tree level.
|
# 5. Rows are sorted by decreasing amount (and then by account), at each tree level.
|
||||||
# Tree mode.
|
# Tree mode.
|
||||||
@ -205,8 +205,8 @@ Balance changes in 2018:
|
|||||||
b || 3X
|
b || 3X
|
||||||
>=
|
>=
|
||||||
|
|
||||||
** Non-tabular balance reports
|
#** Non-tabular balance reports
|
||||||
*** Default sort without account declarations
|
#*** Default sort without account declarations
|
||||||
|
|
||||||
# 10. Rows are sorted alphabetically by account name, at each tree level.
|
# 10. Rows are sorted alphabetically by account name, at each tree level.
|
||||||
# Tree mode. Missing parent accounts are added (b).
|
# Tree mode. Missing parent accounts are added (b).
|
||||||
@ -239,7 +239,7 @@ $ hledger -f- bal -N --flat
|
|||||||
1 c
|
1 c
|
||||||
>=
|
>=
|
||||||
|
|
||||||
*** Default sort with account declarations
|
#*** Default sort with account declarations
|
||||||
|
|
||||||
# 12. With account directives, tree mode.
|
# 12. With account directives, tree mode.
|
||||||
# At each tree level, declared accounts are sorted first, in
|
# At each tree level, declared accounts are sorted first, in
|
||||||
@ -290,7 +290,7 @@ $ hledger -f- bal -N --flat
|
|||||||
1 c
|
1 c
|
||||||
>=
|
>=
|
||||||
|
|
||||||
*** Sort by amount
|
#*** Sort by amount
|
||||||
|
|
||||||
# 14. Rows are sorted by decreasing amount (and then by account), at each tree level.
|
# 14. Rows are sorted by decreasing amount (and then by account), at each tree level.
|
||||||
# Tree mode.
|
# Tree mode.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user