hledger/tests/codes.test

38 lines
333 B
Plaintext
Raw Normal View History

2020-07-08 00:00:02 +03:00
# codes command
<
1/1 (123)
(a) 1
1/1 ()
(a) 1
1/1
(a) 1
1/1 (124)
(a) 1
1/1 (123)
(a) 1
1/1
(a) 1
# 1. Show non-empty codes by default, in parse order, including duplicates.
$ hledger -f - codes
123
124
123
>=
# 2. With -E, also show empty/missing codes as blank lines.
$ hledger -f - codes -E
123
124
123
>=