aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/A.txt1
-rw-r--r--test/B.txt1
-rw-r--r--test/C.txt1
-rw-r--r--test/D.txt1
-rw-r--r--test/command/5881.md14
-rw-r--r--test/defaults1.yaml1
-rw-r--r--test/defaults2.yaml4
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
+