Skip to content

Commit cbfc2e5

Browse files
committed
test: sync postgres relaxed query expectation
Signed-off-by: liusiyuxyfx <779532360@qq.com>
1 parent ca153d3 commit cbfc2e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/repository/test_postgres_search_repository.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ async def test_postgres_question_punctuation_and_relaxation(session_maker, test_
10201020

10211021
# Relaxation drops stopwords and OR-joins content terms.
10221022
relaxed = repo._relaxed_tsquery_text("When did Melanie paint a sunrise?")
1023-
assert relaxed == "Melanie:* | paint:* | sunrise:*"
1023+
assert relaxed == "melanie:* | paint:* | sunrise:*"
10241024

10251025
# User intent is not second-guessed.
10261026
assert repo._relaxed_tsquery_text("alpha AND beta") is None

0 commit comments

Comments
 (0)