fix(test): extend renderMd window to 15000 chars (renderMd grew with diff+tree viewers)
This commit is contained in:
@@ -31,7 +31,7 @@ def test_autolink_regex_in_rendermd():
|
||||
rendermd_start = content.find('function renderMd(raw){')
|
||||
assert rendermd_start != -1, "renderMd function not found in ui.js"
|
||||
# Find the closing brace after renderMd (look for the autolink pattern within it)
|
||||
rendermd_body = content[rendermd_start:rendermd_start + 10000]
|
||||
rendermd_body = content[rendermd_start:rendermd_start + 15000]
|
||||
assert 'https?:\\/\\/' in rendermd_body, (
|
||||
"Autolink regex (https?:\\/\\/) not found inside renderMd() body."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user