Fixed some test locations and put test data files in extra-source-files.
commit3645f9babee2954870e54ad8a00f16c7f211c721
authorJohn MacFarlane <jgm@berkeley.edu>
dateThu 14 Nov 2019, 06:21 (7 years ago)
parenta1f69b1
pandoc.cabal+6
@@ -196,6 +196,12 @@ extra-source-files:
196196 test/bodybg.gif
197197 test/*.native
198198 test/command/*.md
199+ test/command/A.txt
200+ test/command/B.txt
201+ test/command/C.txt
202+ test/command/D.txt
203+ test/command/defaults1.yaml
204+ test/command/defaults2.yaml
199205 test/command/3533-rst-csv-tables.csv
200206 test/command/3880.txt
201207 test/command/5182.txt
test/command/5881.md+1−1
@@ -1,5 +1,5 @@
11```
2−% pandoc -t markdown -s -H D.txt -d defaults1.yaml -d defaults2.yaml
2+% pandoc -t markdown -s -H command/D.txt -d command/defaults1.yaml -d command/defaults2.yaml
33Ok
44^D
55here's d
test/command/5904.md+1−1
@@ -1,5 +1,5 @@
11```
2−% pandoc -s -t markdown -H test/B.txt --variable header-includes:foo
2+% pandoc -s -t markdown -H command/B.txt --variable header-includes:foo
33Hi
44^D
55foo
test/A.txt → test/command/A.txtrenamed
The content is the same.
test/B.txt → test/command/B.txtrenamed
The content is the same.
test/C.txt → test/command/C.txtrenamed
The content is the same.
test/D.txt → test/command/D.txtrenamed
The content is the same.
test/command/defaults1.yamlnew file+1
@@ -0,0 +1 @@
1+include-in-header: command/A.txt
test/command/defaults2.yamlnew file+4
@@ -0,0 +1,4 @@
1+include-in-header:
2+- command/B.txt
3+- command/C.txt
4+
test/defaults1.yamldeleted−1
@@ -1 +0,0 @@
1−include-in-header: A.txt
test/defaults2.yamldeleted−4
@@ -1,4 +0,0 @@
1−include-in-header:
2−- B.txt
3−- C.txt
4−