fix(test): extend renderMd window to 15000 chars (renderMd grew with diff+tree viewers)

This commit is contained in:
Hermes Agent
2026-04-29 04:39:50 +00:00
parent 2f0d036455
commit 74ecc58afa

View File

@@ -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."
)