Added another test
This commit is contained in:
@@ -31,7 +31,8 @@ integrationTests =
|
|||||||
[ check_equal "Integration 1" "<h1>Sample Markdown</h1><p>This is some basic, sample markdown.</p><h2><b>Second</b> <i>Heading</i></h2>" (convert "# Sample Markdown\n\n This is some basic, sample markdown.\n\n ## __Second__ _Heading_"),
|
[ check_equal "Integration 1" "<h1>Sample Markdown</h1><p>This is some basic, sample markdown.</p><h2><b>Second</b> <i>Heading</i></h2>" (convert "# Sample Markdown\n\n This is some basic, sample markdown.\n\n ## __Second__ _Heading_"),
|
||||||
check_equal "Integration 2" "<p><b>Hello</b> <i>World</i></p>" (convert "__Hello__\n_World_"),
|
check_equal "Integration 2" "<p><b>Hello</b> <i>World</i></p>" (convert "__Hello__\n_World_"),
|
||||||
check_equal "Integration 3" "<h1>Hello</h1><p>World</p>" (convert "# Hello\nWorld"),
|
check_equal "Integration 3" "<h1>Hello</h1><p>World</p>" (convert "# Hello\nWorld"),
|
||||||
check_equal "Integration 4" "<h1>Hello</h1>" (convert "# Hello\n")
|
check_equal "Integration 4" "<p>a b</p>" (convert "a\nb"),
|
||||||
|
check_equal "Integration 5" "<h1>Hello</h1>" (convert "# Hello\n")
|
||||||
]
|
]
|
||||||
|
|
||||||
tests =
|
tests =
|
||||||
|
Reference in New Issue
Block a user