hledger/tests/print-preserves-comments.test

17 lines
395 B
Plaintext
Raw Normal View History

2009-09-16 21:05:59 +04:00
# let's have print preserve comments as far as possible
# we preserve line-end comments but not full line comments
2010-05-22 04:52:45 +04:00
bin/hledger -f - print
2009-09-16 21:05:59 +04:00
<<<
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
2009-11-25 15:21:59 +03:00
b -1
2009-09-16 21:05:59 +04:00
>>>=0