15 lines
345 B
Python
15 lines
345 B
Python
import mistletoe
|
|
|
|
from renderer.fifty_ohm_html_renderer import FiftyOhmHtmlRenderer
|
|
from test.util import paragraph
|
|
|
|
|
|
def test_dash_html() :
|
|
|
|
assertions = {
|
|
"Foo - Bar" : "Foo – Bar",
|
|
}
|
|
|
|
for assertion in assertions:
|
|
assert mistletoe.markdown(assertion, FiftyOhmHtmlRenderer) == paragraph(assertions[assertion])
|