summaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authorDimitris Apostolou <dimitris.apostolou@icloud.com>2022-02-22 19:05:39 +0200
committerGitHub <noreply@github.com>2022-02-22 09:05:39 -0800
commit2f521081ad81cddfe589c2b7e751dec4c2cb06c9 (patch)
tree29dfe3ff16c09ec7ca9c08fb679d203f0de8cc31 /test/Tests
parent3bc3e968372e567cbaf3a7a512e15b93b90d2520 (diff)
Fix typos (#7934)
Diffstat (limited to 'test/Tests')
-rw-r--r--test/Tests/Readers/DokuWiki.hs4
-rw-r--r--test/Tests/Readers/HTML.hs2
-rw-r--r--test/Tests/Readers/Markdown.hs12
3 files changed, 9 insertions, 9 deletions
diff --git a/test/Tests/Readers/DokuWiki.hs b/test/Tests/Readers/DokuWiki.hs
index db52a34a6..b4a7ba72f 100644
--- a/test/Tests/Readers/DokuWiki.hs
+++ b/test/Tests/Readers/DokuWiki.hs
@@ -225,12 +225,12 @@ tests = [ testGroup "inlines"
, "Ordered list" =:
T.unlines [ " - The same list but ordered"
, " - Another item"
- , " - Just use indention for deeper levels"
+ , " - Just use indentation for deeper levels"
, " - That's it"
] =?>
orderedList [ plain "The same list but ordered"
, plain "Another item" <>
- orderedList [ plain "Just use indention for deeper levels" ]
+ orderedList [ plain "Just use indentation for deeper levels" ]
, plain "That's it"
]
, "Multiline list items" =: -- https://www.dokuwiki.org/faq:lists
diff --git a/test/Tests/Readers/HTML.hs b/test/Tests/Readers/HTML.hs
index 5acfbd2f9..eec5da643 100644
--- a/test/Tests/Readers/HTML.hs
+++ b/test/Tests/Readers/HTML.hs
@@ -120,7 +120,7 @@ tests = [ testGroup "base tag"
=?>
codeBlockWith ("a", ["python"], []) "print('hi')"
- , test html "attributes in pre take precendence" $
+ , test html "attributes in pre take precedence" $
"<pre id=\"c\"><code id=\"d\">\nprint('hi mom!')\n</code></pre>"
=?>
codeBlockWith ("c", [], []) "print('hi mom!')"
diff --git a/test/Tests/Readers/Markdown.hs b/test/Tests/Readers/Markdown.hs
index dd2a1b9ae..b1c417b36 100644
--- a/test/Tests/Readers/Markdown.hs
+++ b/test/Tests/Readers/Markdown.hs
@@ -371,13 +371,13 @@ tests = [ testGroup "inline code"
, test markdownMMD "normal superscript"
("x^3^"
=?> para ("x" <> superscript "3"))
- , test markdownMMD "short subscript delimeted by space"
+ , test markdownMMD "short subscript delimited by space"
("O~2 is dangerous"
=?> para ("O" <> subscript "2" <> space <> "is dangerous"))
- , test markdownMMD "short subscript delimeted by newline"
+ , test markdownMMD "short subscript delimited by newline"
("O~2\n"
=?> para ("O" <> subscript "2"))
- , test markdownMMD "short subscript delimeted by EOF"
+ , test markdownMMD "short subscript delimited by EOF"
("O~2"
=?> para ("O" <> subscript "2"))
, test markdownMMD "short subscript delimited by punctuation"
@@ -389,13 +389,13 @@ tests = [ testGroup "inline code"
, test markdownMMD "no nesting in short subscripts"
("y~*2*"
=?> para ("y~" <> emph "2"))
- , test markdownMMD "short superscript delimeted by space"
+ , test markdownMMD "short superscript delimited by space"
("x^2 = y"
=?> para ("x" <> superscript "2" <> space <> "= y"))
- , test markdownMMD "short superscript delimeted by newline"
+ , test markdownMMD "short superscript delimited by newline"
("x^2\n"
=?> para ("x" <> superscript "2"))
- , test markdownMMD "short superscript delimeted by ExF"
+ , test markdownMMD "short superscript delimited by ExF"
("x^2"
=?> para ("x" <> superscript "2"))
, test markdownMMD "short superscript delimited by punctuation"