Skip to content

Commit 288deec

Browse files
committed
Updated test function.
1 parent 1d185f7 commit 288deec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_completion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -930,8 +930,8 @@ def test_plain_fields() -> None:
930930
assert completion_item.display_meta_plain == "A tasty apple"
931931

932932

933-
def test_sanitization() -> None:
934-
"""Test display string sanitization in CompletionItem."""
933+
def test_clean_display() -> None:
934+
"""Test display string cleaning in CompletionItem."""
935935
# Test all problematic characters being replaced by a single space.
936936
# Also verify that \r\n is replaced by a single space.
937937
display = "str1\r\nstr2\nstr3\rstr4\tstr5\fstr6\vstr7"

0 commit comments

Comments
 (0)