Add test for #5881.

This commit is contained in:
John MacFarlane 2019-11-13 17:07:44 -08:00
parent ec043e0d97
commit cbcaf19174
7 changed files with 23 additions and 0 deletions

1
test/A.txt Normal file
View file

@ -0,0 +1 @@
this is a

1
test/B.txt Normal file
View file

@ -0,0 +1 @@
here is b

1
test/C.txt Normal file
View file

@ -0,0 +1 @@
and this is c

1
test/D.txt Normal file
View file

@ -0,0 +1 @@
here's d

14
test/command/5881.md Normal file
View file

@ -0,0 +1,14 @@
```
% pandoc -t markdown -s -H D.txt -d defaults1.yaml -d defaults2.yaml
Ok
^D
here's d
this is a
here is b
and this is c
Ok
```

1
test/defaults1.yaml Normal file
View file

@ -0,0 +1 @@
include-in-header: A.txt

4
test/defaults2.yaml Normal file
View file

@ -0,0 +1,4 @@
include-in-header:
- B.txt
- C.txt