hledger/tests/print-preserves-comments.test
2011-08-14 22:15:39 +00:00

17 lines
395 B
Plaintext

# let's have print preserve comments as far as possible
# we preserve line-end comments but not full line comments
bin/hledger -f - print
<<<
2009/1/1 x ; description comment
a 1 ; amount comment
; middle posting comment
b
; trailing posting comment
; post-entry comment
>>>
2009/01/01 x ; description comment
a 1 ; amount comment
b -1
>>>=0