a test for the !include with relative paths issue (#21)
This commit is contained in:
parent
1e7e9a54a0
commit
1a8353457d
12
tests/include.test
Normal file
12
tests/include.test
Normal file
@ -0,0 +1,12 @@
|
||||
# nested includes in subdirectories
|
||||
mkdir -p b/c ; printf '2010/1/1\n (C) 1\n' >b/c/c.journal ; printf '2010/1/1\n (B) 1\n!include c/c.journal\n' >b/b.journal ; printf '2010/1/1\n (A) 1\n!include b/b.journal\n' >a.journal ; hledger -f a.journal print; rm -rf b
|
||||
>>>
|
||||
2010/01/01
|
||||
(A) 1
|
||||
|
||||
2010/01/01
|
||||
(B) 1
|
||||
|
||||
2010/01/01
|
||||
(C) 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user