stats: test display order of included files

This commit is contained in:
Simon Michael 2012-06-29 14:41:16 +00:00
parent 34318906d8
commit 24546bb910
2 changed files with 14 additions and 4 deletions

View File

@ -1,4 +0,0 @@
bin/hledger -f- stats
<<<
>>> /Accounts.* 0 \(depth 0\)/
>>>=0

14
tests/stats.test Normal file
View File

@ -0,0 +1,14 @@
# 1. empty file
bin/hledger -f- stats
<<<
>>> /Accounts.* 0 \(depth 0\)/
>>>=0
# 2. included files should be listed in parse order
touch a b; bin/hledger -f- stats; rm -f a b
<<<
include a
include b
>>> /Included journal files *: *\.\/a/
>>>2
>>>=0