@@ -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−```