Add a test

This commit is contained in:
Gaith Hallak 2018-07-04 17:54:15 +03:00
parent d0b9d76986
commit bf67823279
3 changed files with 12 additions and 0 deletions

2
tests/cli/a.j Normal file
View File

@ -0,0 +1,2 @@
2018/1/1 a1
(a) 1

2
tests/cli/b.j Normal file
View File

@ -0,0 +1,2 @@
2018/1/1 b1
(b) 1

View File

@ -58,3 +58,11 @@ hledger print -f personal.journal -f ../journal/a.timeclock -f ../journal/b.time
>>>2 >>>2
>>>=0 >>>=0
# 4. same-date transactions in different files are shown in the right order
hledger -f a.j -f b.j reg
>>>
2018/01/01 a1 (a) 1 1
2018/01/01 b1 (b) 1 2
>>>2
>>>=0