diff options
author | Henry de Valence <hdevalence@hdevalence.ca> | 2013-12-19 20:43:25 -0500 |
---|---|---|
committer | Henry de Valence <hdevalence@hdevalence.ca> | 2013-12-19 20:43:25 -0500 |
commit | f6d151889c8fff303be8ee8a4f9be67a04de9210 (patch) | |
tree | f8c876bc142e9485dbbf81b26125973edce9dec2 /tests/Tests | |
parent | c35f5ba42df094cef5f69a191315385a0a1e12b0 (diff) | |
download | pandoc-f6d151889c8fff303be8ee8a4f9be67a04de9210.tar.gz |
HLint: redundant parens
Remove parens enclosing a single element.
Diffstat (limited to 'tests/Tests')
-rw-r--r-- | tests/Tests/Readers/LaTeX.hs | 2 | ||||
-rw-r--r-- | tests/Tests/Readers/Markdown.hs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/Tests/Readers/LaTeX.hs b/tests/Tests/Readers/LaTeX.hs index c1efd1b68..8ff23ebc1 100644 --- a/tests/Tests/Readers/LaTeX.hs +++ b/tests/Tests/Readers/LaTeX.hs @@ -21,7 +21,7 @@ tests = [ testGroup "basic" [ "simple" =: "word" =?> para "word" , "space" =: - "some text" =?> para ("some text") + "some text" =?> para "some text" , "emphasized" =: "\\emph{emphasized}" =?> para (emph "emphasized") ] diff --git a/tests/Tests/Readers/Markdown.hs b/tests/Tests/Readers/Markdown.hs index b04ff9a0d..492680a35 100644 --- a/tests/Tests/Readers/Markdown.hs +++ b/tests/Tests/Readers/Markdown.hs @@ -171,13 +171,13 @@ tests = [ testGroup "inline code" , testGroup "smart punctuation" [ test markdownSmart "quote before ellipses" ("'...hi'" - =?> para (singleQuoted ("…hi"))) + =?> para (singleQuoted "…hi")) , test markdownSmart "apostrophe before emph" ("D'oh! A l'*aide*!" =?> para ("D’oh! A l’" <> emph "aide" <> "!")) , test markdownSmart "apostrophe in French" ("À l'arrivée de la guerre, le thème de l'«impossibilité du socialisme»" - =?> para ("À l’arrivée de la guerre, le thème de l’«impossibilité du socialisme»")) + =?> para "À l’arrivée de la guerre, le thème de l’«impossibilité du socialisme»") ] , testGroup "mixed emphasis and strong" [ "emph and strong emph alternating" =: |