hledger/tests/register/colour.test
Stephen Morgan a838366c9d cli: Ensure register reports are correctly aligned for negative numbers.
This uses the new showMixed* function for the register report. This
fixes some misaligned negative numbers which appeared in one of the
earlier commits, and adds a test for it.
2020-11-04 14:25:20 +11:00

19 lines
460 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

2019-1-1
(a) -1.0
2019-1-2
(a) 1
2019-1-3
(a) 1
2019-1-4
(a) 1
$ hledger -f- register --color always
2019-01-01 (a) -1.0 -1.0
2019-01-02 (a) 1.0 0
2019-01-03 (a) 1.0 1.0
2019-01-04 (a) 1.0 2.0
>=