mirror of https://github.com/zulip/zulip.git
Triple-quote string in test_dangerous_block() for readability.
(imported from commit f8fdbff9cc992310907957ca0632bb646c726b9f)
This commit is contained in:
parent
f8435cde82
commit
8f636bccf6
|
@ -3126,7 +3126,13 @@ xxxx xx xxxx xx xxx xxxxx xxxxxx?</p>"""
|
|||
|
||||
~~~~
|
||||
x = 1"""
|
||||
expected_convert = '<p><code>one</code></p>\n<p><code>two</code></p>\n<div class="codehilite"><pre>x = 1\n</pre></div>'
|
||||
|
||||
expected_convert = """\
|
||||
<p><code>one</code></p>
|
||||
<p><code>two</code></p>
|
||||
<div class="codehilite"><pre>x = 1
|
||||
</pre></div>"""
|
||||
|
||||
self.common_bugdown_test(fenced_code, expected_convert)
|
||||
|
||||
def test_ulist_standard(self):
|
||||
|
|
Loading…
Reference in New Issue