register: test for #174

This commit is contained in:
Simon Michael 2014-04-13 15:12:30 -07:00
parent 424db9a09e
commit d4993092fb

View File

@ -68,3 +68,15 @@ hledgerdev -f- register --period 'monthly to 2011/2/1' b --empty --display 'd<[2
2011/01/01 - 2011/01/31 0 0
>>>=0
# 6. --date2 should work with intervals
hledgerdev -f- register --monthly --date2
<<<
2014/1/1
(a) 1
2014/2/1=2014/1/31
(b) 1
>>>
2014/01/01 - 2014/01/31 a 1 1
b 1 2
>>>=0