Skip to content

Commit a6d6758

Browse files
committed
test: remove test_empty_substring (tests stdlib not our code)
1 parent ea9b16b commit a6d6758

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

test/formatters/granite/test_granite3_shared.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ def test_regex_special_chars(self):
3838
result = find_substring_in_text("foo(bar)", "call foo(bar) now")
3939
assert result == [{"begin_idx": 5, "end_idx": 13}]
4040

41-
def test_empty_substring(self):
42-
result = find_substring_in_text("", "hello")
43-
# re.finditer with empty pattern matches at every position
44-
assert len(result) > 0
45-
4641

4742
# ---------------------------------------------------------------------------
4843
# create_dict

0 commit comments

Comments
 (0)