git.iko.soy/typeable/pandoc
on master help sign in
Remove command test for #5517.

We need a better test that works cross-platform. Until then, removing this. Closes #5528.

commit2ad5dacf876a308e267801db315c12deec39bb5e authorJohn MacFarlane <jgm@berkeley.edu> dateTue 28 May 2019, 12:45 (7 years ago) parent3f57f49
1 file changed−32
test/command/5517.md−32
test/command/5517.mddeleted−32
@@ -1,32 +0,0 @@
1−Use epub output to trigger `downloadOrRead` in `Text.Pandoc.Class`
2−in order to test `file:` URL-scheme handling.
3−
4−There are no relative `file:` URLs, so we cannot
5−test with an actual file, since we don't know the
6−current working directory. Instead, we use `/dev/null`
7−as a file that certainly exists, redirect stderr
8−to stdout and check that there is no warning.
9−
10−```
11−% pandoc -M title=test -f native -t epub -o /dev/null 2>&1
12−[Para [Image ("",[],[]) [] ("file:/dev/null","")]]
13−^D
14−```
15−
16−```
17−% pandoc -M title=test -f native -t epub -o /dev/null 2>&1
18−[Para [Image ("",[],[]) [] ("file:///dev/null","")]]
19−^D
20−```
21−
22−```
23−% pandoc -M title=test -f native -t epub -o /dev/null 2>&1
24−[Para [Image ("",[],[]) [] ("file://localhost/dev/null","")]]
25−^D
26−```
27−
28−```
29−% pandoc -M title=test -f native -t epub -o /dev/null 2>&1
30−[Para [Image ("",[],[]) [] ("file:lalune.jpg","")]]
31−^D
32−```