From 8041de0101e009f8a4c67c01a78ea71bd57acd0d Mon Sep 17 00:00:00 2001 From: Tal Einat Date: Wed, 7 May 2014 00:21:57 +0300 Subject: [PATCH] fixed test_double_first_item --- tests/test_generic_search.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_generic_search.py b/tests/test_generic_search.py index aa748fb..01a1cef 100644 --- a/tests/test_generic_search.py +++ b/tests/test_generic_search.py @@ -102,7 +102,8 @@ class TestGenericSearchBase(object): self.expectedOutcomes( self.search('def', 'abcddefg', 0, 1, 0, 1), - [Match(start=4, end=7, dist=0)], + [Match(start=3, end=7, dist=1), + Match(start=4, end=7, dist=0)], ) def test_missing_second_item(self):