Get basic multicell URL detection working

This commit is contained in:
Kovid Goyal
2025-01-14 15:31:45 +05:30
parent c3db7c9464
commit 64e3b641ce
2 changed files with 10 additions and 6 deletions

View File

@@ -687,4 +687,5 @@ def test_multicell(self: TestMulticell) -> None:
url = 'http://moo.com'
multicell(s, url, scale=2)
s.detect_url(0, 0)
asl((0, 0, len(url)*2), (1, 0, len(url)*2))
self.ae(s.current_url_text(), url)
asu((0, 0, len(url)*2 - 1), (1, 0, len(url)*2 - 1))