mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-15 16:15:12 +00:00
Update TestSearchText to use 0-based line numbers
This commit is contained in:
1 parent
d79e2c2a0f
commit
9ae2d1af77
1 file changed
+2
-2
@@ -19,8 +19,8 @@ class TestSearchText:
|
||||
|
||||
assert len(matches) == 1
|
||||
assert matches[0].num_matched_lines == 1
|
||||
assert matches[0].start_line == 3
|
||||
assert matches[0].end_line == 3
|
||||
assert matches[0].start_line == 2
|
||||
assert matches[0].end_line == 2
|
||||
assert matches[0].lines[0].line_content.strip() == 'print("Hello, World!")'
|
||||
|
||||
def test_search_text_with_regex_pattern(self):
|
||||
|
||||
Reference in new issue
Block a user