summaryrefslogtreecommitdiff
path: root/test/Tests/Readers/DokuWiki.hs
diff options
context:
space:
mode:
Diffstat (limited to 'test/Tests/Readers/DokuWiki.hs')
-rw-r--r--test/Tests/Readers/DokuWiki.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Tests/Readers/DokuWiki.hs b/test/Tests/Readers/DokuWiki.hs
index d08e72c01..56275d3d2 100644
--- a/test/Tests/Readers/DokuWiki.hs
+++ b/test/Tests/Readers/DokuWiki.hs
@@ -80,7 +80,7 @@ tests = [ testGroup "inlines"
para (rawInline "html" "\nThis is some <span style=\"color:red;font-size:150%;\">inline HTML</span>\n")
, "Inline PHP" =:
"<php>echo '<p>Hello World</p>';</php>" =?>
- para (codeWith ("", ["php"], []) "echo '<p>Hello World</p>';")
+ para (rawInline "html" "<?php echo '<p>Hello World</p>'; ?>")
, "Linebreak" =:
T.unlines [ "This is some text with some linebreaks\\\\ Note that the"
, "two backslashes are only recognized at the end of a line\\\\"
@@ -260,7 +260,7 @@ tests = [ testGroup "inlines"
, "echo '<p>Hello World</p>';"
, "</PHP>"
] =?>
- codeBlockWith ("", ["php"], []) "echo '<p>Hello World</p>';\n"
+ rawBlock "html" "<?php echo '<p>Hello World</p>';\n ?>"
, "Quote" =:
T.unlines [ "> foo"
, ">no space is required after >"