Tests
Add tests for x-sendfile, <audio> and <video> support.
This commit is contained in:
parent
c7418af48d
commit
d8a2a3657d
3 changed files with 43 additions and 0 deletions
|
@ -521,6 +521,12 @@ END_THM
|
|||
assert_markup_parsed_as(
|
||||
"<p><a class='existingWikiWord' href='../file/square.jpg' title='Square'>Blue Square</a></p>",
|
||||
'[[square.jpg|Blue Square:file]]')
|
||||
assert_markup_parsed_as(
|
||||
"<p><video controls='controls' src='../file/square.jpg'>Blue Square</video></p>",
|
||||
'[[square.jpg|Blue Square:video]]')
|
||||
assert_markup_parsed_as(
|
||||
"<p><audio controls='controls' src='../file/square.jpg'>Blue Square</audio></p>",
|
||||
'[[square.jpg|Blue Square:audio]]')
|
||||
assert_markup_parsed_as(
|
||||
"<p><a class='existingWikiWord' href='../file/square.jpg' title='Square'>Square</a></p>",
|
||||
'[[square.jpg:file]]')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue