hledger/tests/balance/multicommodity.test

29 lines
742 B
Plaintext

# 1. In tabular balance reports, cap the maximum width and elide if sufficiently large
<
2020-01-01
(a) 1.00A
(a) 1.00B
(a) 1.00C
(a) 1.00D
(a) 1.00E
(a) 1.00F
$ hledger -f- bal -Y
Balance changes in 2020:
|| 2020
===++===============================
a || 1.00A, 1.00B, 1.00C, 3 more..
---++-------------------------------
|| 1.00A, 1.00B, 1.00C, 3 more..
# 2. Unless --no-elide is used.
$ hledger -f- bal -Y --no-elide
Balance changes in 2020:
|| 2020
===++==========================================
a || 1.00A, 1.00B, 1.00C, 1.00D, 1.00E, 1.00F
---++------------------------------------------
|| 1.00A, 1.00B, 1.00C, 1.00D, 1.00E, 1.00F