fix(tests): update _build_document assertions to match NL sentence format

This commit is contained in:
KoalaTrapLord authored and GitHub committed 2026-03-30 12:36:00 -04:00
1 parent 11940835fc
commit c62e75af52
1 file changed
+2 -2
+2 -2
View File
@@ -73,12 +73,12 @@ class TestBuildDocument:
from services.rag_store import _build_document
card = {"name": "Unnamed"}
doc = _build_document(card)
assert doc == "Unnamed"
assert doc == "Unnamed."
def test_pipe_delimiter_format(self):
from services.rag_store import _build_document
card = {"name": "A", "mana_cost": "B", "type_line": "C", "oracle_text": "D"}
assert _build_document(card) == "A | B | C | D"
assert _build_document(card) == "A is a C. It costs B. D"
# ---------------------------------------------------------------------------