diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-11-13 17:07:44 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-11-13 17:07:44 -0800 |
commit | cbcaf1917470acf28099c5698fd6feec7c45c470 (patch) | |
tree | f8cff0cc9572285c26de8fb68e66aae52c5887a9 /test | |
parent | ec043e0d97fdc864044f7c9e7efaa1b4c733bafb (diff) | |
download | pandoc-cbcaf1917470acf28099c5698fd6feec7c45c470.tar.gz |
Add test for #5881.
Diffstat (limited to 'test')
-rw-r--r-- | test/A.txt | 1 | ||||
-rw-r--r-- | test/B.txt | 1 | ||||
-rw-r--r-- | test/C.txt | 1 | ||||
-rw-r--r-- | test/D.txt | 1 | ||||
-rw-r--r-- | test/command/5881.md | 14 | ||||
-rw-r--r-- | test/defaults1.yaml | 1 | ||||
-rw-r--r-- | test/defaults2.yaml | 4 |
7 files changed, 23 insertions, 0 deletions
diff --git a/test/A.txt b/test/A.txt new file mode 100644 index 000000000..9e365c806 --- /dev/null +++ b/test/A.txt @@ -0,0 +1 @@ +this is a diff --git a/test/B.txt b/test/B.txt new file mode 100644 index 000000000..15e82baab --- /dev/null +++ b/test/B.txt @@ -0,0 +1 @@ +here is b diff --git a/test/C.txt b/test/C.txt new file mode 100644 index 000000000..ffe50d0ab --- /dev/null +++ b/test/C.txt @@ -0,0 +1 @@ +and this is c diff --git a/test/D.txt b/test/D.txt new file mode 100644 index 000000000..6a06fd34c --- /dev/null +++ b/test/D.txt @@ -0,0 +1 @@ +here's d diff --git a/test/command/5881.md b/test/command/5881.md new file mode 100644 index 000000000..3c3970a89 --- /dev/null +++ b/test/command/5881.md @@ -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 +``` diff --git a/test/defaults1.yaml b/test/defaults1.yaml new file mode 100644 index 000000000..b99caa46a --- /dev/null +++ b/test/defaults1.yaml @@ -0,0 +1 @@ +include-in-header: A.txt diff --git a/test/defaults2.yaml b/test/defaults2.yaml new file mode 100644 index 000000000..93f41896a --- /dev/null +++ b/test/defaults2.yaml @@ -0,0 +1,4 @@ +include-in-header: +- B.txt +- C.txt + |