hledger/tests/balance/drop.test

44 lines
833 B
Plaintext

# 1. Drop works in flat mode
<
2018/1/1
(b:j) 1
2018/1/1
(b:j:q) 1
2018/1/1
(c) 1
2018/1/1
(b:i:p) 1
2018/1/1
(a:k) 1
$ hledger -f - balance --flat --no-total --drop 1
1 k
1 i:p
1 j
1 j:q
1 ...
>=
## 2. Drop works in tree mode with no boring parent ellision
$ hledger -f - balance --tree --no-elide --no-total --drop 1
1 k
1 i
1 p
2 j
1 q
1 ...
>=
## 3. Drop works in tree mode with boring parent ellision
$ hledger -f - balance --tree --no-total --drop 1
1 k
1 i:p
2 j
1 q
1 ...
>=