bal: a needed test for sorting by amount (#1279)

This commit is contained in:
Simon Michael 2020-07-04 16:05:55 -07:00
parent c811ea4c7b
commit 04d26e1f2f

View File

@ -350,3 +350,17 @@ $ hledger -f- bal -N --sort-amount --flat
4X a 4X a
3X b 3X b
>= >=
# 19. Sort by amount, #1279
<
2020-01-01
(a:aa) 1
(a:ab) 3
(b) 2
$ hledger bal -N -S
4 a
3 ab
1 aa
2 b
>=