minor test change

This commit is contained in:
Tal Einat 2014-05-07 00:22:19 +03:00
parent 8041de0101
commit 4e7215973e
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class TestGenericSearchBase(object):
def test_match_identical_sequence(self):
self.assertEqual(
self.search('PATTERN', 'PATTERN', 0, 0, 0, 0),
[Match(start=0, end=len('PATTERN'), dist=0)],
[Match(start=0, end=7, dist=0)],
)
def test_substring(self):