mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
Triple-quote string in test_dangerous_block() for readability.
(imported from commit f8fdbff9cc992310907957ca0632bb646c726b9f)
This commit is contained in:
@@ -3126,7 +3126,13 @@ xxxx xx xxxx xx xxx xxxxx xxxxxx?</p>"""
|
|||||||
|
|
||||||
~~~~
|
~~~~
|
||||||
x = 1"""
|
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)
|
self.common_bugdown_test(fenced_code, expected_convert)
|
||||||
|
|
||||||
def test_ulist_standard(self):
|
def test_ulist_standard(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user