diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-05-28 12:45:02 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-05-28 12:45:31 -0700 |
commit | 2ad5dacf876a308e267801db315c12deec39bb5e (patch) | |
tree | b58c2827ebbaa3207500531f9cda69db3af312cf /test | |
parent | 3f57f49033d78fab158af77983611ffcb5cac4bc (diff) | |
download | pandoc-2ad5dacf876a308e267801db315c12deec39bb5e.tar.gz |
Remove command test for #5517.
We need a better test that works cross-platform.
Until then, removing this.
Closes #5528.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/5517.md | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/test/command/5517.md b/test/command/5517.md deleted file mode 100644 index 3656ba9ff..000000000 --- a/test/command/5517.md +++ /dev/null @@ -1,32 +0,0 @@ -Use epub output to trigger `downloadOrRead` in `Text.Pandoc.Class` -in order to test `file:` URL-scheme handling. - -There are no relative `file:` URLs, so we cannot -test with an actual file, since we don't know the -current working directory. Instead, we use `/dev/null` -as a file that certainly exists, redirect stderr -to stdout and check that there is no warning. - -``` -% pandoc -M title=test -f native -t epub -o /dev/null 2>&1 -[Para [Image ("",[],[]) [] ("file:/dev/null","")]] -^D -``` - -``` -% pandoc -M title=test -f native -t epub -o /dev/null 2>&1 -[Para [Image ("",[],[]) [] ("file:///dev/null","")]] -^D -``` - -``` -% pandoc -M title=test -f native -t epub -o /dev/null 2>&1 -[Para [Image ("",[],[]) [] ("file://localhost/dev/null","")]] -^D -``` - -``` -% pandoc -M title=test -f native -t epub -o /dev/null 2>&1 -[Para [Image ("",[],[]) [] ("file:lalune.jpg","")]] -^D -``` |