mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 17:52:02 +02:00
Merge branch 'simplify_code' of https://github.com/Luflosi/kitty
This commit is contained in:
@@ -257,7 +257,7 @@ class TestDataTypes(BaseTest):
|
|||||||
self.ae(lf.url_start_at(i), n)
|
self.ae(lf.url_start_at(i), n)
|
||||||
for i in range(7):
|
for i in range(7):
|
||||||
for scheme in 'http https ftp file'.split():
|
for scheme in 'http https ftp file'.split():
|
||||||
lspace_test(i)
|
lspace_test(i, scheme)
|
||||||
l3 = create('b https://testing.me a')
|
l3 = create('b https://testing.me a')
|
||||||
for s in (0, 1, len(l3) - 1, len(l3) - 2):
|
for s in (0, 1, len(l3) - 1, len(l3) - 2):
|
||||||
self.ae(l3.url_start_at(s), len(l3), 'failed with start at: %d' % s)
|
self.ae(l3.url_start_at(s), len(l3), 'failed with start at: %d' % s)
|
||||||
|
|||||||
Reference in New Issue
Block a user