Compare commits
4 Commits
2893fa25e6
...
b8ba27f240
Author | SHA1 | Date | |
---|---|---|---|
b8ba27f240 | |||
bb08b40512 | |||
93548a4533 | |||
160cb0edeb |
@@ -4,7 +4,7 @@ import MdToHTML
|
||||
import Test.HUnit
|
||||
|
||||
check_equal :: String -> String -> String -> Test
|
||||
check_equal desc expected actual = TestCase (assertEqual desc expected actual)
|
||||
check_equal desc expected actual = TestCase (assertEqual desc expected (filter (/= '\n') actual))
|
||||
|
||||
convert :: String -> String
|
||||
convert md = show $ leftmostLongestParse parseDocument md
|
||||
@@ -138,7 +138,7 @@ integrationTests =
|
||||
"# Sample Markdown\n\nThis is some basic, sample markdown.\n\n## Second \
|
||||
\Heading\n\n- Unordered lists, and:\n 1. One\n 2. Two\n 3. Three\n\
|
||||
\- More\n\n> Blockquote\n\nAnd **bold**, *italics*, and even *italics and \
|
||||
\later **bold***. Even ~~strikethrough~~. [A link](https://markdowntohtml.com) to somewhere."
|
||||
\later __bold__*. Even ~~strikethrough~~. [A link](https://markdowntohtml.com) to somewhere."
|
||||
)
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user