fix: freeze evidence metadata lists as lists (preserve JSON shape)
This commit is contained in:
@@ -32,7 +32,7 @@ def test_normalize_utf8_bom_newlines_unicode_and_frontmatter():
|
||||
|
||||
assert document.content == "Café\nBody\n"
|
||||
assert document.title == "Café"
|
||||
assert document.metadata["frontmatter"] == {"tags": ("uno", "due"), "title": "Café"}
|
||||
assert document.metadata["frontmatter"] == {"tags": ["uno", "due"], "title": "Café"}
|
||||
assert document.metadata["source"] == {"owner": "docs"}
|
||||
assert document.metadata["acquisition"] == {"transport": "http"}
|
||||
assert document.source_uri == "https://host/guide.md"
|
||||
|
||||
Reference in New Issue
Block a user